I think you can use a factory for this. Have a look in
ActionServlet.initApplication() for more detail... And do not forget to have
a good WE ;-))

----- Original Message -----
From: "McClung, Brian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 5:52 PM
Subject: RE: How to customize the way Validation Error is display


> Where do I get hold of the messages tag?  I've looked in my
struts-html.tld
> file but it isn't there?  Which version is it located in?
>
> Thanks
> Brian McClung
>
> -----Original Message-----
> From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to customize the way Validation Error is display
>
>
> I'm not sure if this is what you were asking about,
> but you can use html:messages instead of html:errors
> to give a little more control over displaying errors.
> The html:messages tag iterates over the errors so you
> can insert markup around an individual message.  You
> can also use the property attribute to retrieve a
> message for an individual property (html:errors and
> html:messages) so you could display an error message
> next to each field.
>
> <ul>
>    <html:messages id="message" property="firstName">
>       <li><bean:write name="message"/></li>
>    </html:messages>
> </ul>
>
> David
>
> --- Adam Grohs <[EMAIL PROTECTED]> wrote:
> > Have a look at an implimentation description and
> > sample that I've put
> > together at www.leanonme.org.  Hope this helps.
> > Thanks,
> > Adam S. Grohs
> > [EMAIL PROTECTED]
> >
> > ----- Original Message -----
> > From: "Minh Tran" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 03, 2001 3:40 PM
> > Subject: How to customize the way Validation Error
> > is display
> >
> >
> > > Does anyone know how to control and customize the
> > way the validation error
> > > is display when when fills out incorrect form
> > information?
> > >
> > > Thanks,
> > > Minh
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just
> $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
>

Reply via email to