<s:a id="link1" theme="ajax" href="/DoIt.action"> <img border="none" src="<%=request.getContextPath()%>/images/delete.gif"/> <s:param name="id" value="1"/> </s:a>
36373839404142
public AnchorModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { super(stack, req, res); } protected Component getBean() { return new Anchor(stack, req, res); }
6970717273747576
} @Override protected void setUp() throws Exception { super.setUp(); this.tag = new Anchor(stack, request, response); this.tag.setUrlRenderer(new ServletUrlRenderer()); }
38394041424344
protected String notifyTopics; protected String afterLoading; protected String preInvokeJS; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new Anchor(stack, req, res); }
4445464748495051525354555657
} protected void populateParams() { super.populateParams(); Anchor link = (Anchor) component; link.setHref(href); link.setErrorText(errorText); link.setShowErrorTransportText(showErrorTransportText); link.setNotifyTopics(notifyTopics); link.setAfterLoading(afterLoading); link.setPreInvokeJS(preInvokeJS); }
32333435363738
public String getBeanName() { return "a"; } protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new Anchor(stack, req, res); }
37383940414243
protected String targets; protected String preInvokeJS; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new Anchor(stack, req, res); }
4344454647484950
} protected void populateParams() { super.populateParams(); Anchor link = (Anchor) component; link.setTargets(targets); }
private static final long serialVersionUID = -1034616578492431113L; protected String href; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new Anchor(stack, req, res); }
} protected void populateParams() { super.populateParams(); Anchor anchor = (Anchor) component; anchor.setHref(href); }