If you are using the nightly builds, there are
html:messages, logic:messagesPresent, and
logic:messageNotPresent to help with formatting and
display of messages.  The html:messages tag is like
html:error, but it iterates through the errors
instead.  Specifying a header and/or footer by passing
in the message resource key is optional.


<html:messages id="message">
   <bean:write name="message"/><br>
</html:messages>

<html:messages id="message" header="my.errors.header">
   <bean:write name="message"/><br>
</html:messages>

David

--- "Joćo Paulo G. Batistella" <[EMAIL PROTECTED]>
wrote:
> This message only tell you that you had an error.
> You can use your own messages with ActionError
> class. See in the example that came with  Struts.
> 
> JP
> 
> Robert Tyler Retzlaff wrote:
> 
> > Ah yes your right it's in
> ApplicationResource.properties however if I change
> > it there it will change it for all occurences,
> sometimes I'd like to have
> > it say one thing and another time something else
> is this possible?
> >
> > Thanks again
> >
> > rob
> >
> > >
> > > I don't remeber wich option but try to
> find(grep?) the string "Validation Error" in a
> > > properties(*.properties) file.
> > >
> > > []'s
> > > JP
> > >
> > > Robert Tyler Retzlaff wrote:
> > >
> > > > How do you change the default text "Validation
> Error\n you must correct the following
> > > > error(s) before proceeding:" that is displayed
> whenever you use the <html:errors /> tag?
> > > >
> > > > Also, I've been happily using ActionErrors for
> returning errors from forms but I
> > > > would also like to use it for displaying other
> errors (not from forms) is ActionErrors
> > > > the appropriate facility to be doing this with
> or is there something else I should
> > > > be using for this purpose?
> > > >
> > > > Lastly, struts seems to be a very complete
> framework and as a new web programmer I am
> > > > unfamiliar with all of the capabilities that
> struts could be providing for me.  In
> > > > order to avoid re-writing code that struts may
> already provide is there a listing
> > > > of all of the 'things you can do' with struts
> persay listed online?
> > > >
> > > > Thanks
> > > >
> > > > rob
> > > >
> > > > --
> > > > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > >
> > > --
> > > Joćo Paulo G. Batistella
> > > Ci&T - Software enabling the e-world
> > > Phone: +55 (19) 3737-4515
> > > http://www.cit.com.br
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > >
> >
> > --
> > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> Joćo Paulo G. Batistella
> Ci&T - Software enabling the e-world
> Phone: +55 (19) 3737-4515
> http://www.cit.com.br
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to