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

JavascriptValidatorTag creates invalida javascript method name when validating using 
action path in formName

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-07-21 20:56 -------
You don't need to specify the forward slash in your validator configuration.
This configuration works for an Action with a path /myAction -  

JSP:
  <html:javascript formName="myAction" />  
  <html:form action="/myAction"  onsubmit="return validateMyAction(this);">

Validation.xml
  <form name="myAction" onsubmit="return validateMyAction(this);">

If, for any reason, you did need to include the forward slashes, you can use the
'method' attribute of the <html:javascript> to specify a different javascript
method name than the default. e.g. 
  <html:javascript formName="/myAction" method="validateMyAction" />

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

Reply via email to