You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/25 11:08:38 UTC
DO NOT REPLY [Bug 19310] New: -
JavascriptValidatorTag causes error for "requiredif" validator
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=19310>.
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=19310
JavascriptValidatorTag causes error for "requiredif" validator
Summary: JavascriptValidatorTag causes error for "requiredif"
validator
Product: Struts
Version: Unknown
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: fredrik.norin@mogul.com
If the "requiredif" validator is used in combination with any other
validator that uses client side validation the validating javascript
will fail.
This is due to the fact that the dynamically generated javascript
is unable to handle array variables and the "requiredif" validator
uses arrays for the parameters passed to the validator (i.e field[0],
fieldTest[0] etc).
I've created a patch for JavascriptValidatorTag that creates client
javascripts that is able to handle arrays.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org