commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20449] - [validator] Define flag for validating current page only in multipage form
Date Thu, 02 Feb 2006 15:46:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=20449>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=20449





------- Additional Comments From ummmmm@myrealbox.com  2006-02-02 16:46 -------
Fair enough.

<html:javascript/> uses the validation.xml form name to generate the "dynamic"
Javascript method names, but the Struts form name for the "statically" generated
Javascript.

So function renewalForm_1_required () is the specific, dynamic method (had to
use underscore instead of pound sign because # wasn't valid in the Javascript),
but validateRequired(form) calls formName.value + '_required()', which is simply
renewalForm_required().

Even the "method" attribute on <html:javascript> only changes the name of the
main Javascript method, not the submethods that are called by the common code.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message