I am trying to figure out the <validator type="expression"> and not having
much success. Can someone tell me what is wrong with this?
<field name="model.password">
<field-validator type="requiredstring">
<message key="requiredstring" />
</field-validator>
</field>
<field name="model.confirmPassword">
<field-validator type="requiredstring">
<message key="requiredstring" />
</field-validator>
</field>
<validator type="expression">
model.password.equals(model.confirmPassword)
<message>${getText("nomatch")} ${min} and ${max}</message>
</validator>
--
View this message in context:
http://www.nabble.com/S2-XML-Validation-tf4287832.html#a12206250
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]