I actually did use that but nothing was being returned. All it showed was a "null".



From: "Nagendra Kumar O V S" <[EMAIL PROTECTED]>
Reply-To: "Nagendra Kumar O V S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: Displaying an incorrect email using email validator
Date: Mon, 11 Aug 2003 16:45:00 +0530

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-------

From: Struts Users Mailing List
Date: Monday, August 11, 2003 04:17:44 PM
To: [EMAIL PROTECTED]
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]


.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



Reply via email to