RE: html:errors handling

2001-12-17 Thread Frederic Houbie - ABSIS-GROUP

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=
errors.footer=

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




RE: html:errors handling

2001-12-17 Thread Keith Bacon

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

errors.header=
errors.footer=

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: Frédéric 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  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:
> 
> For additional commands, e-mail:
> 
> 


__
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:   
For additional commands, e-mail: 




RE: html:errors handling

2001-12-17 Thread Jesse Alexander (KABS 11)

Hi,

have you defined the errors.header and .footer texts in the application resource file?

hope this helps
Alexander Jesse

-Original Message-
From: Frédéric Houbie - ABSIS-GROUP [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 5:22 PM
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  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:   
For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: html:errors handling

2001-12-17 Thread Barry Jia

did you set your error text in your application resource file ?

-Original Message-
From: Frédéric 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  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:

For additional commands, e-mail: