Great helps,

thanks

-----Original Message-----
From: Keith Bacon [mailto:[EMAIL PROTECTED]]
Sent: lundi 17 decembre 2001 17:44
To: Struts Users Mailing List
Subject: RE: html:errors handling


Fridiric,
I think you need these 2 lines in your
ApplicationResources.properties file. (obviously the
html can be different (maybe just  )

errors.header=<font color="red" size="+1"><ul>
errors.footer=</ul></font>

Struts assumes you will always have them (it should
default to a null string if you don't - I think it
maybe does in later versions).
Keith.




--- Barry Jia <[EMAIL PROTECTED]> wrote:
> did you set your error text in your application
> resource file ?
>
> -----Original Message-----
> From: Fridiric Houbie - ABSIS-GROUP
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 17, 2001 11:22 AM
> To: Struts-User
> Subject: html:errors handling
>
>
> Hi,
>
> I have a strange behaviour in my application. in my
> logonaction, I do some
> check, when error occurs, I use errors.add(xxx,
> "yyy") to set some errors.
> But when I use <html:errors> tag to display it, I
> get "null My_Error null",
> so my error message is preceded by null text et
> followed by null text. I
> don't understand where it comes from. I display
> errors.size() and it returns
> my 1, so there is only one record in it.
>
> any idea ?
>
> Frederic
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
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]>

Reply via email to