On 03/05/2004 12:33 PM MOHAN RADHAKRISHNAN wrote:

<field property="cocNumber" depends="integer"> <msg name="integer" key="error.coc.check"/> <arg0 key="label.coc.incident"/> </field>

So if I input a value that is not a integer in this particular field I
should see a message specified by <msg name="integer"
key="error.coc.check"/>

Why are specifying a different msg key? There is a default one already 'errors.integer', if you have put it in your ApplicationResources.


Adam
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to