struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Single argument to multiple vaildator rules ?
Date Thu, 29 Jul 2004 07:36:18 GMT

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 ?
Where the keys in the read :

key1=Hello {0} world {1}
key2=Hi {0} world {1}
key3=Dear {0} world {1}

Help would be really appreciated.


Confidentiality Notice

The information contained in this electronic message and any attachments to this message are
for the exclusive use of the addressee(s) and may contain confidential or privileged information.
you are not the intended recipient, please notify the sender at Wipro or
and destroy all copies of this message and any attachments.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message