Hi!
I have html:select with countries list
I want to make sure that the user clicked on a value
Jsp:
<html:select styleClass="bg_FFF" style="width:80px" name="productBean"
property="data.category">
<html:option
value="empty">------</html:option>
<html:optionsCollection property="categoriesList" name="productBean"
value="id" label="name" />
</html:select>
validation.xm
<field property="data.category" depends="validwhen">
<arg key="choose category" resource="false"
/>
<var>
<var-name>test</var-name>
<var-value>
(*this* != 'empty')
</var-value>
</var>
</field>
But I don't see that it works! Why?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]