View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2014年7月9日 下午3:53:50
4    */
5   package gboat2.base.view.jsp;
6   
7   import gboat2.base.view.GboatViewUtil;
8   import gboat2.base.view.components.CatagoryQuery;
9   
10  import javax.servlet.http.HttpServletRequest;
11  import javax.servlet.http.HttpServletResponse;
12  
13  import org.apache.struts2.components.Component;
14  import org.apache.struts2.views.jsp.ui.AbstractListTag;
15  
16  import com.opensymphony.xwork2.util.ValueStack;
17  
18  /**
19   * @CatagoryQuery
20   * @date 2014年7月9日
21   * @author <a href="mailto:[email protected]">何明旺</a>
22   * @since 3.0.0-SNAPSHOT
23   */
24  public class CatagoryQueryTag extends AbstractListTag {
25  
26      private static final long serialVersionUID = 1L;
27      
28      protected String gridId;
29  
30      @Override
31      public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
32          return new CatagoryQuery(stack, req, res);
33      }
34  
35      @Override
36      protected void populateParams() {
37          super.populateParams();
38          GboatViewUtil.populateParams(this, component);
39      }
40  
41      public void setGridId(String gridId) {
42          this.gridId = gridId;
43      }
44  
45  }