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/01/31 19:33:42 UTC

DO NOT REPLY [Bug 16650] New: - form validation based on action and form name

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

form validation based on action and form name

           Summary: form validation based on action and form name
           Product: Struts
           Version: Unknown
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: acorona@objectwave.com
                CC: acorona@objectwave.com


ActionForms represent a composition of data entry elements from an HTML form to 
be submitted within an action for processing. With the current validation fwk I 
can define validation rules for a given form based on the form's name. With 
this approach it is not possible to reuse one form definition from the struts 
config file on multiple actions with different validation requirements within 
the same app. The way work around it is defining a new form-bean with a 
different name using the same ActionForm type. Could we enhance the validation 
to apply the rules based on the action path and the form name associated to a 
given action making the validation rules unique to a combination of Action + 
Form allowing for better reuse of the form-bean definitions.

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