Whoops, as the other reply said, it's the <s:fielderror...> tag [1], not <s:actionerror>.
Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Wed, 6/25/08, Anshu Dhamija wrote: > > i am facing problem in performing validation through > > xml actually i want to display message at the top of > > my form instaed of at field level > > can anyone please help me > > The validation messages are placed in the form by the S2 > form element tags. If you want to modify the output of > those tags you can modify or create a theme [1]. > > Using the "simple" theme will also remove the > validation messages, but you'll lose other useful > functionality--but that might not be an issue depending on > your usecase. > > The <s:actionerror...> tag [2] will render any error > messages. A combination of either the simple theme or a > modified theme plus the action error tag may do what you > need. > > Dave > > [1] > http://struts.apache.org/2.x/docs/themes-and-templates.html > [2] http://struts.apache.org/2.x/docs/actionerror.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]