David Erickson wrote:
say <arg0 key="name.of.my.email"/>Hi I am using some ValidatorActionForms.. here's an example of my validation mapping:
<form name="/admin/updateUser">
<field property="user.email" depends="required,email">
<msg name="email" key="error.email.format"/>
<arg0 key="(How do I insert the value of that variable here?!)" resource="false"/>
</field>
</form>
than in your Applicaltinresources.properies:
name.of.my.email=" this email" error.email.format="has a wrong format"
my message looks like error.email.format={0} is not a valid e-mail address.
What I'm wondernig is how do I substitute the actual value they inputted into the message using the validate.xml? I know I can do it easily if I hand validate it in the forms validate method.. but I'm sure there has to be a way to do it like this! Any help greatly appreciated.
-David
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]