I am try to migrate an app from struts 1 -> 2
I am trying to do basic validation on a form. Fields a and b are required.
<field name="a">
<field-validator type="requiredstring">
<message key="errors.required"/>
</field-validator>
</field>
<field name="b">
<field-validator type="requiredstring">
<message key="errors.required"/>
</field-validator>
</field>
in the resource bundle I have
errors.required={0} is required.
How do you put dynamic values into these messages so that it shows up:
[blah blah blah] is required.
[Some other field] is required.
Thanks in advance,
Jonathan
--
View this message in context:
http://www.nabble.com/Struts-2---Dynamic-Validation-results-tp16809171p16809171.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]