PageRenderTime 138ms CodeModel.GetById 90ms app.highlight 2ms RepoModel.GetById 45ms app.codeStats 0ms

/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
 1package com.googlecode.struts2yuiplugin.views.freemarker.tags;
 2
 3import javax.servlet.http.HttpServletRequest;
 4import javax.servlet.http.HttpServletResponse;
 5
 6import org.apache.struts2.components.Component;
 7import org.apache.struts2.views.freemarker.tags.TagModel;
 8
 9import com.googlecode.struts2yuiplugin.components.DatePicker;
10import com.opensymphony.xwork2.util.ValueStack;
11
12public class DatePickerModel extends TagModel {
13
14    public DatePickerModel(ValueStack stack, HttpServletRequest req,
15        HttpServletResponse res) {
16        super(stack, req, res);
17    }
18
19    @Override
20    protected Component getBean() {
21        return new DatePicker(this.stack, this.req, this.res);
22    }
23
24}