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=16776>.
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=16776

Add paramValue attribute to <html:link> tag

           Summary: Add paramValue attribute to <html:link> tag
           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> tag needs a 'paramValue' attribute to allow hardcoded request 
parameter values to be added when the 'action' value is specified. For example, 
there is currently no good way to generate this:

  <a href=".../MyAction.do?action=edit" ... >

when using the link tag like this:

  <html:link action="/MyAction" ...>

because the only way to add parameters to the URL is from beans. Instead of 
having to create a bean just for this purpose, I'd like to be able to do this:

  <html:link action="/MyAction" paramId="action" paramValue="edit" ... >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to