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/07/13 21:31:36 UTC

DO NOT REPLY [Bug 21548] New: - html:link tag can check validity of parameters

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

html:link tag can check validity of parameters

           Summary: html:link tag can check validity of parameters
           Product: Struts
           Version: 1.1RC2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: rmann@latencyzero.com


We've run into a situation where JSP developers often write html:link tags but specify a 
parameter name to an action incorrectly. It seems like it shouldn't be too hard for the 
html:link tag to validate the supplied parameter name (paramId attribute) against the 
available setters in the form specified for the action.

Obviously, this would only work in the situation where the html:link tag is used with the 
action attribute, but it would be very helpful if it threw an exception or rendered error text 
at the time of renderign the URL into the page.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org