View Javadoc
1   package gboat2.base.view.freemarker;
2   
3   import gboat2.base.view.components.Attach;
4   
5   import javax.servlet.http.HttpServletRequest;
6   import javax.servlet.http.HttpServletResponse;
7   
8   import org.apache.struts2.components.Component;
9   import org.apache.struts2.views.freemarker.tags.TagModel;
10  
11  import com.opensymphony.xwork2.util.ValueStack;
12  
13  /**
14   * @see Attach
15   */
16  public class AttachModel extends TagModel {
17      public AttachModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
18          super(stack, req, res);
19      }
20  
21      protected Component getBean() {
22          return new Attach(stack, req, res);
23      }
24  }