For a simple case like this where there's only one validation that depends on the checkbox value it'd be easy enough to use the expression validator, which accepts arbitrary expressions.
Anything substantially more complicated than that and I usually end up pushing the validation into Java by using a validate() method.
Anand Krishnanandam
Greenhorn
Joined: May 23, 2006
Posts: 25
posted
0
something like ?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Struts2 Validation - skip validation for certain fields