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/07/23 20:47:39 UTC
DO NOT REPLY [Bug 14471] -
validator-rules.xml JavaScript fails when field not present in jsp
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
rvh3@comcast.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From rvh3@comcast.net 2003-07-23 18:47 -------
As of 1.1 release, this error exists (I don't know if it since the 2002/11/12
build). The <html:javascript.../> tag generates code for non-present fields.
Even when I comment out estimatedAnnualPremium, the source includes an attribute
for it in method required(). And there is no check for undefined in any of the
javascript:
<!--nested:text property="estimatedAnnualPremium" size="12"/-->
...
this.ac = new Array("estimatedAnnualPremium", "Estimated Annual Premium is
required.", new Function ("varName", "this.max='1000000';
this.mask=/^\\d+(\\.\\d{2})?$/; this.min='0'; return this[varName];"));
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org