I have three separate Action Forms with two properties shared between them.
I am currently using the DynaValidatorForm and validation rules set up for
them. I would like to migrate to one Form Bean but I am not quite sure how
to do this with DynaValidatorForm. For example:
Form 1:
property name="distinct field1"
property name="shared field1"
property name="shared field2"
Form 2:
property name="distinct field2"
property name="shared field1"
property name="shared field2"
Form 3:
property name="distinct field3"
property name="shared field1"
property name="shared field2"
How I can tell DynaValidatorForm to always validate "shared field1" and
"shared field2" and do the following:
Validate "distinct field1" when "distinct field2" and "distinct
field3" are null
Validate "distinct field2" when "distinct field1" and "distinct
field3" are null
Validate "distinct field3" when "distinct field1" and "distinct
field2" are null
Thanks in advance,
Jeremy Appel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]