mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-2048 AnchorTag has no setter method corresponding to TLD declared attribute 'onLoadJS'
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X@560385 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -36,7 +36,6 @@ public class AnchorTag extends AbstractRemoteCallUITag {
|
||||
private static final long serialVersionUID = -1034616578492431113L;
|
||||
|
||||
protected String targets;
|
||||
protected String preInvokeJS;
|
||||
|
||||
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
|
||||
return new Anchor(stack, req, res);
|
||||
@@ -57,6 +56,11 @@ public class AnchorTag extends AbstractRemoteCallUITag {
|
||||
public void setPreInvokeJS(String preInvokeJS) {
|
||||
this.beforeLoading = preInvokeJS;
|
||||
}
|
||||
|
||||
@Deprecated()
|
||||
public void setOnLoadJS(String onLoadJS) {
|
||||
this.afterLoading = onLoadJS;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user