commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11541] New: - PATCH: Allow validators to have access to form bean
Date Wed, 07 Aug 2002 22:39:26 GMT
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=11541>.
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=11541

PATCH: Allow validators to have access to form bean

           Summary: PATCH: Allow validators to have access to form bean
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: turner@blackbear.com


Right now, a validator only has access to the bean that is being validated, 
especially if the bean is an indexed property.  This patch adds a new 
recognized parameter signature in the validation 
method, "org.apache.struts.action.DynaActionForm", which allows a validator 
method to request the DynaForm that is being validated.  This will allow cross-
field validators to be written.  In fact, I have a new 
validator, "requiredif", that depends on this, and which I will check in once 
this is accepted.

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message