On 25/1/05 8:49 am, "Manisha Sathe" <[EMAIL PROTECTED]> wrote:

> finally i could figure it out as
> 
> ActionErrors errors = super.validate(...) ( i am new to java too)
> 
> With this i could get the server side validation + my own validation.
> 
> The same thing i want to do it for Javascript validation. I want to make use
> of JavaScript validation created by validator +   i want to add my own
> javascript validation any idea ?

on your jsp:

<html:form action='/nameOfTheAction' onsubmit='return validate(this);'>
...
</html:form>

<html:javascript
    formName="nameOfTheForm"
    dynamicJavascript="true"
    staticJavascript="true"
    method="validate"
 />

> 
> regards
> Manisha
> 
> 
> 
> 
> Manisha Sathe <[EMAIL PROTECTED]> wrote:
> I am using validator framework. But for some business logic - i need to some
> other validation depending on some conditions.
> 
> I want to keep validation of validator framework as it is + after that i want
> to add my own.
> 
> First of all is it possible If yes, then how ?
> 
> regards
> Manisha
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'


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

Reply via email to