1
2
3
4
5 package gboat2.base.view.jsp;
6
7 import gboat2.base.view.GboatViewUtil;
8 import gboat2.base.view.components.PageUrl;
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.AbstractUITag;
15
16 import com.opensymphony.xwork2.util.ValueStack;
17
18
19
20
21
22
23
24 public class PageUrlTag extends AbstractUITag {
25
26 private static final long serialVersionUID = -1;
27
28 @Override
29 public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
30 return new PageUrl(stack, req, res);
31 }
32
33 @Override
34 protected void populateParams() {
35 super.populateParams();
36 GboatViewUtil.populateParams(this, component);
37 }
38
39
40 }