struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amin Lalji" <>
Subject Validator Dependant Checkboxes...
Date Mon, 26 Apr 2004 16:26:04 GMT
Just wondering if anybody has been able to get dependant checkboxes

I have the following in validation.xml:

      property="orderReceived" depends="requiredif">
       <arg0 key="OrderFormReceived.exception.checkBox"/>

>From what I understand about Struts and checkboxes... the orderNotReceived
checkbox will not be submitted/populated if it is not checked... so the
validator does not really have an element to test against ... kind of like 
A NPE... the above does not work... validation succeeds if I leave
orderNotReceived unchecked...

Any ideas?


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

View raw message