You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/04 20:49:10 UTC

DO NOT REPLY [Bug 16776] New: - Add paramValue attribute to tag

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: struts-dev@jakarta.apache.org
        ReportedBy: martinc@apache.org


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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org