1
2
3
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
20
21
22
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 }