You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/08/08 00:39:26 UTC
DO NOT REPLY [Bug 11541] New: -
PATCH: Allow validators to have access to form bean
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>