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

JavaScript generation with page





------- Additional Comments From [EMAIL PROTECTED]  2003-08-15 20:12 -------
All 3 of the above attachments are my proposal for fixing this bug that I 
reported.  The attachments are:

7836: JavascriptValidatorTag.java
    This file fixes both of the problems that I stated above.  It does not 
generate the calls for validations that are on the form with a different page 
setting.  When a validation is generated, it passes an Array of fields to the 
static JavaScript function that is defined in the validator-rules instead of 
defining another function that returns the Array of fields.

7837: validator-rules.xml
    I have redefined all the Validator JavaScript functions so that they 
expects an Array parameter instead of getting the Array from a seperate 
generated function.  This also nullifies the use of the jsFunctionName 
attribute, since JavascriptValidatorTag no longer uses it to generate the 
seperate function.

7838: ValidatorRules.js
   This file was created for the purpose of including the Rules as a JavaScript 
file instead of using <html:javascript> with staticJavascript="true".  This 
allows you to include the static Validation JavaScript in a Tiles Layout JSP 
without having to include it in every Tile that uses Validation.  This makes 
your JSP generated HTML pages smaller, specially if you include more than one 
tile that uses validation.  This file should be updated when a change is made 
to the JavaScript in validator-rules.xml or validator-rules.xml should be 
updated when this one is.

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

Reply via email to