Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
11541
Description
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.