Thanks for that, now it works fine. If i enter characters in the password field the alert :"please enter only numbers" <ComposeForm.numbers> is not displayed but rest of the other alerts are displaying.
validation.xml ----------------------- <!-- compose form Validation--> <form name="InfoForm"> <field property="fname" depends="required"> <arg0 key="ComposeForm.fname"/> </field> <field property="password" depends="required,mask"> <msg name="mask" key="ComposeForm.numbers"/> <arg key="ComposeForm.password"/> <var> <var-name>mask</var-name> <var-value>^[0-9]*$</var-value> </var> </field> <field property="email" depends="required,email"> <arg0 key="ComposeForm.email"/> </field> </form> Rauf Khan On 7/28/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Rauf Khan ha scritto: > FYI : > Compose page is the page that iam trying to validate, thats the reason i > have written there. > compose.jsp It is exactly what I suspected. If the validation fails, it will return to the page specified in "input" attribute in the action mapping, that is "/jsp/compose.jsp". That page contains only the form and it is not the complete Tiles definition, therefore you will see that form "out of Tiles". I hope it clears the concept Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]