Wouldn't you use field errors for that, and let the theme handle the
display?

-----Original Message-----
From: Stefano Tranquillini [mailto:stefano.tranquill...@gmail.com] 
Sent: Friday, April 17, 2009 2:23 PM
To: Struts Users Mailing List
Subject: Display action errors above the field

Hi all
i'm starting with struts2, there's a possibilty to display the errors comes
from actionerros over the corrisponding field?

eg:

i've 3 fields:
- name
- surname
- email

the email si not valid, i want:

- name
- surname
* your email is not valid *
- email

if i put <s:actionerrors /> i see this thing:

* your email is not valid *

- name
- surname
- email

thanks.

-- 
Stefano


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

Reply via email to