You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ka...@wipro.com on 2010/12/28 06:54:43 UTC

Field validation

Any One tell me how to do field validation in struts 2,
i need to show the error message on top of the each field not in top of the screen.
 
Thanks and Regards,
Karthick G
Mobile:9911597083

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Field validation

Posted by Jordi Fernandez <jo...@esilog.com>.
Try jQuery validation http://docs.jquery.com/Plugins/validation for 
client side javascript validation.

On 28/12/2010 6:54, karthick.gunasekaran@wipro.com wrote:
> Any One tell me how to do field validation in struts 2,
> i need to show the error message on top of the each field not in top of the screen.
>
> Thanks and Regards,
> Karthick G
> Mobile:9911597083
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>
> www.wipro.com
>

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


Re: Field validation

Posted by Maurizio Cucchiara <ma...@gmail.com>.
If you want use native struts2 validation start from here [1],
Remember that in order to show the error message on top you need to
choose the css_xhtml theme for struts.


[1] http://struts.apache.org/2.2.1/docs/validation.html

2010/12/28  <ka...@wipro.com>:
> Any One tell me how to do field validation in struts 2,
> i need to show the error message on top of the each field not in top of the screen.
>
> Thanks and Regards,
> Karthick G
> Mobile:9911597083
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>
> www.wipro.com
>



-- 
Maurizio Cucchiara

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