hi,
email error message requires only one variable & i
guess so u should be using
<arg0 name="email" key="${var:email}"
resource="false">
-- nagi
-------Original Message-------
Date: Monday, August
11, 2003 04:17:44 PM
Subject: Displaying an
incorrect email using email validator
Hi everyone,
I currently have a JSP page with a
textbox that holds email data which is to be validated using the
struts validator. Currently with other types of validations one can
view the output the value of the textbox using the <arg1 name="xxx"
key="${var:xxx}" resource="false"> tag within the
<field></field> tags inside the validation xml. The
problem I'm having here is that how is one able to view the value of
an email validation?
Currently I try to use the following syntax to
view the output of any email value:
<arg1 name="email"
key="${var:email}" resource="false">
This doesn't work
however. It works if I were to use it within the context of a
maxLength or minLength but not email. Why is this so and what is the
correct way of doing
it?
Thanks
John
_________________________________________________________________ MSN
8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
. |