/src/main/java/com/googlecode/struts2yuiplugin/views/freemarker/tags/DatePickerModel.java
http://struts2yuiplugin.googlecode.com/ · Java · 24 lines · 17 code · 7 blank · 0 comment · 0 complexity · 80306eb8848ca3ec27b7265aae5df27c MD5 · raw file
- package com.googlecode.struts2yuiplugin.views.freemarker.tags;
-
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
-
- import org.apache.struts2.components.Component;
- import org.apache.struts2.views.freemarker.tags.TagModel;
-
- import com.googlecode.struts2yuiplugin.components.DatePicker;
- import com.opensymphony.xwork2.util.ValueStack;
-
- public class DatePickerModel extends TagModel {
-
- public DatePickerModel(ValueStack stack, HttpServletRequest req,
- HttpServletResponse res) {
- super(stack, req, res);
- }
-
- @Override
- protected Component getBean() {
- return new DatePicker(this.stack, this.req, this.res);
- }
-
- }