struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Goldman <cgold...@dhapdigital.com>
Subject Re: Validation framework +dropdowns
Date Thu, 14 Sep 2006 17:10:40 GMT
On Thu, 2006-09-14 at 16:13 +0530, Vaneet Sharma wrote:
> Hii Frns
> 
> I  have  two drop downs in my jsp page,
> 
> I want to validate second drop down only when  the value of selected item 
> of first drop down is 2.
> Can anybody tell me how to do this using validation framework.

Check this out:

http://struts.apache.org/1.2.9/userGuide/dev_validator.html#validwhen

It will let you do exactly what you're asking about.

Chris

-- 
Christopher D. Goldman
cgoldman@dhapdigital.com



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message