Hi,

I'm using the Validator to validate against an action path (rather than
a form), it works fine on the server side. But it doesn't work on the
client side using javascript. All the javascripts are spitted out as
text, I noticed the starting and ending <script> tag is missing in the
generated javascript. I wonder what the problem could be. I have the
following in my jsp file:


<html:form action="/addAsset.do" enctype="multipart/form-data"
onsubmit="return validateAssetForm(this);">


<html:javascript formName="assetForm" dynamicJavascript="true"
staticJavascript="true" />


and should I use "addAsset" or "/addAsset" for the "formName" attribute?
It doesn't work either.


thanks,

Saul

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

Reply via email to