struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: struts validation problem
Date Tue, 24 Jul 2007 06:52:03 GMT
Nosinov,

The feature to display the error value in a validation message is part 
of the next release of Validator (1.4). At the moment, no current 
releases allow this feature. If you want, you can help submit a patch 
for that feature:
https://issues.apache.org/jira/browse/VALIDATOR

Paul

Nosinov Mirbek wrote:
> Hello Everybody.
> Could you help me with Struts validation.
>
> this is block from validation.xml
>
>    <field property="email" depends="required,email">
>     <arg key="i_nee_to_have_email_property_value_here" name="email" resource="false"
/>
>    </field>
>
> I want to show in error message in jsp value of property email, that user has entered.
> like if user entered myemail@mail.com
> i want to show error message
> myemail@mail.com is invalid
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message