Hey your welcome.
Niall
- Original Message -
From: "Nimmons, Buster" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 10:48 PM
Subject: RE: using multiple error messages
> That was it...
ailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 9:59 PM
Subject: RE: using multiple error messages
> here is the snippet of code which produces the ActionErrors object
>
> Long id = new Long(System.currentTimeMillis());
> ActionErrors errors = new
27;" <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 9:59 PM
Subject: RE: using multiple error messages
> here is the snippet of code which produces the ActionErrors object
>
> Long id = new Long(System.currentTimeMillis());
> ActionErrors errors = new
ge-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 3:56 PM
To: Struts Users Mailing List
Subject: Re: using multiple error messages
Well, works for me and dubugging your stuff without seeing your code is
difficult.
Niall
- Original Message -
From: "
Well, works for me and dubugging your stuff without seeing your code is
difficult.
Niall
- Original Message -
From: "Nimmons, Buster" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 9:44 PM
I do in fact have and on the page to test for the existence
of errors and it does display the errors
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 3:44 PM
To: Struts Users Mailing List
Subject: Re: using multiple error messages
It only
ers Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 8:02 PM
Subject: RE: using multiple error messages
> The code suggested below seems to work as far as displaying the
appropriate
> header message if errors are present but none of the actual error messages
: Struts Users Mailing List
Subject: Re: using multiple error messages
By default it looks for action errors under the same key as
does (Globals.ERROR_KEY) or you can specify a message="true" attribute which
causes it to look under the Globals.MESSAGE_KEY instead, or you can specify
your ow
n is saved as so I
> don't know what to specify in the id attribute.. Does struts define a
> constant somewhere defining the bean id
>
> -Original Message-
> From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 11, 2004 10:39 AM
> To: Struts Users Ma
>
Sent: Tuesday, May 11, 2004 4:54 PM
Subject: RE: validwhen validation
> what do I specify as the id to iterate over the ActionErrors in the page
> scope
>
- Original Message -
From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" &l
where defining the bean id
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 10:39 AM
To: Struts Users Mailing List
Subject: Re: using multiple error messages
The tag does exactly what you want - you can specify the
header/footer/suffix/pref
The tag does exactly what you want - you can specify the
header/footer/suffix/prefix as attributes on the tag:
http://jakarta.apache.org/struts/userGuide/struts-html.html#messages
Niall
- Original Message -
From: "Nimmons, Buster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
That's what I was figuring I was going to have to do but I just wanted to
make sure there was not a more intuitive way... Thanks
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 8:10 AM
To: Struts Users Mailing List
Subject: RE: using mul
Not sure if there is a better way of doing this, but my suggestion would be
have no error.header entry, and instead have:
error.systemheader
error.applicationerror
with the two entries you gave, and always add one of those to the error list
first.
Daniel.
-Original Message-
From: Nimmon
14 matches
Mail list logo