If you don't specify the name attribute for arg0, it will become the
default arg value for the different error messages constructed.
so, use <arg0 key="key1"/>
Thanks,
Kishore Senji.
On Thu, 29 Jul 2004 13:06:18 +0530, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hi friends,
>
> I have the following requirement.
>
> <field property="XYZ" depends="required,mask,intRange">
> <msg name="required" key="key1"/>
> <msg name="mask" key="key2"/>
> <msg name="intRange" key="key3"/>
> <arg0 name="required" key="key1"/> // How to pass this argument to all the
> validtor rules ?
> </field>
> Where the keys in the application.properties read :
>
> key1=Hello {0} world {1}
> key2=Hi {0} world {1}
> key3=Dear {0} world {1}
>
> Help would be really appreciated.
>
> regds
> Ravi
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments to this
> message are intended
> for the exclusive use of the addressee(s) and may contain confidential or privileged
> information. If
> you are not the intended recipient, please notify the sender at Wipro or [EMAIL
> PROTECTED] immediately
> and destroy all copies of this message and any attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]