DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13645>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13645 add action attribute in <html:link/> Summary: add action attribute in <html:link/> Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The html:link has these attribute: - href - page - forward Is it possible to add an 'action' attribute: action - Use the value of this attribute as the path of a ActionMpapping to be looked up, and compute the URL with the url-pattern used. (like the <html:form action="PATH" >). The reason is, I want to link my action but I don't want to add a globla- forward foreach action, I lot of my action are ForwardAction on JSP placed in WEB-INF directory. Example: Actually : <html:link forward="help"/> <global-forwards> <forward name="help" path="/do/help"/> <!-- Url-pattern (/do/*) must be HARD CODED --> </global-forwards> <action-mappings> <action path="/help" forward="/WEB-INF/jsp/help.jsp"/> </action-mappings> And I want <html:link action="/help"/> <action-mappings> <action path="/help" forward="/WEB-INF/jsp/help.jsp"/> </action-mappings> Here, Url-pattern is not HARD CODED and no need for a global-forward. Thx, -emmanuel Thx, -emmanuel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
