struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Validation based on other fields
Date Thu, 04 Sep 2008 16:14:59 GMT
--- On Thu, 9/4/08, Gundersen, Richard wrote:
> I'd like to do it with the client side javascript if possible
> (to prevent having to reload the page just for validation) but 
> I can't find anything in the Xwork docs. 
> Not a problem if I do - I can move all the validation to
> the Java, but I'd just like to know either way

IIRC the expression and field expression validators [1,2] don't have client-side implementations.
You don't need to move it into the Java if you don't want to, though, you can use XML-based

If reloading is your only concern you can also do Ajax-based validation.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message