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

validator-rules.xml JavaScript fails when field not present in jsp





------- Additional Comments From [EMAIL PROTECTED]  2003-09-24 17:37 -------
The big reason is that my form is not used in a multi-page layout.  It is a
single form that represents one of 4-5 objects (all with the same base class). 
I have <nested:equals> tags to sub in subclass-specific data with the majority
used by all.  The page attribute would never work in this case.  Even requiredIf
and when are lacking and/or add large amounts of difficult-to-maintain business
logic tied to the UI (and not in the business layer).  I have already added a
few custom tags (w/ associated Java and CDATA to support client/server
validation) for processing a collection of checkboxes (generalized so that it
allows for 'none', 'any', 'all', and - in the case of 2 - 'xor').  I've even
added a custom tag to force some CDATA into the generated HTML that does no
validation -- only initializes the page based on what it thinks is there.

Much of this (save the booleanCompare) would not be necessary if Struts cleanly
supported a 'variable' page content as opposed (rather in addition) to the
multi-page wizard.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to