1 package gboat2.base.view.jsp;
2
3 import gboat2.base.view.GboatViewUtil;
4 import gboat2.base.view.components.Select;
5
6 import javax.servlet.http.HttpServletRequest;
7 import javax.servlet.http.HttpServletResponse;
8
9 import org.apache.struts2.components.Component;
10
11 import com.opensymphony.xwork2.util.ValueStack;
12
13
14
15
16
17
18
19
20 public class SelectTag extends org.apache.struts2.views.jsp.ui.SelectTag {
21
22 private static final long serialVersionUID = 1L;
23
24 protected String colspan;
25 protected String groupColumns;
26 protected String labelCssClass;
27 protected String labelCssStyle;
28 protected String helpText;
29
30
31 @Override
32 public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
33 return new Select(stack, req, res);
34 }
35
36 @Override
37 protected void populateParams() {
38 super.populateParams();
39 GboatViewUtil.populateParams(this, component);
40 }
41
42 public void setColspan(String colspan) {
43 this.colspan = colspan;
44 }
45
46 public void setGroupColumns(String groupColumns) {
47 this.groupColumns = groupColumns;
48 }
49
50 public void setLabelCssClass(String labelCssClass) {
51 this.labelCssClass = labelCssClass;
52 }
53
54 public void setLabelCssStyle(String labelCssStyle) {
55 this.labelCssStyle = labelCssStyle;
56 }
57
58 public void setHelpText(String helpText) {
59 this.helpText = helpText;
60 }
61 }