Mailing List
Subject: Re: Html:messages vs html:errors
One cause of this is if it can't find the message key in your
application
resources and you have your message resources configured with
null=true.
If you change your message resources config to null=false in your
struts-config.xml
message
The problem is with how you've configured your messages resources. Because
you've specified a key your message resources are not being stored under the
default messages resources key. There being stored under the bundle key
ApplicationResources. You just need to remove that (and the id, its
PROTECTED]
Sent: Wednesday, April 06, 2005 11:30 AM
To: Struts Users Mailing List
Subject: Re: Html:messages vs html:errors
The problem is with how you've configured your messages resources.
Because
you've specified a key your message resources are not being stored under
the
default messages
PROTECTED]
Sent: Wednesday, April 06, 2005 2:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Html:messages vs html:errors
Thanks,
But ARG That wasn't it. I changed the message-resources tag as you
suggest,
message-resources null=false parameter=ApplicationResources/
however I am still
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Html:messages vs html:errors
Michael,
Are you capturing exceptions in the jsp? (i.e. do you wrap a giant try
catch block or something?) I ask this because it must be finding the
message since if a key is not found you should get
Hi,
I'm a Struts newbie. A lot of the books and documentation I have on Struts
is pre 1.2 and uses html:errors and ActionErrors. Given ActionErrors is
deprecated, I'd like to use ActionMessages for some new JSPs I'm writing.
Does anyone know of links to more up-to-date articles or
I'm a Struts newbie. A lot of the books and documentation I have on Struts
is pre 1.2 and uses html:errors and ActionErrors. Given ActionErrors is
deprecated, I'd like to use ActionMessages for some new JSPs I'm writing.
the usage is the same.
actionerrors are dependent on certain keys such
Here are wiki topics that discuss this:
http://wiki.apache.org/struts/StrutsDeprecatedActionErrors
http://wiki.apache.org/struts/ActionErrorsAndActionMessages
Hubert
On Apr 5, 2005 8:18 AM, Fergal O'Shea [EMAIL PROTECTED] wrote:
Hi,
I'm a Struts newbie. A lot of the books and
We don't seem to have struts-examples.war readily available here at work.
Does anyone have an example of overriding an ActionForm's validate() method,
but using ActionMessage instead of ActionError (I presume you still have to
use a Collection of ActionErrors), and using html:messages instead of
' [EMAIL PROTECTED]; 'Struts Users Mailing List'
user@struts.apache.org
Sent: Tuesday, April 05, 2005 5:21 PM
Subject: RE: Html:messages vs html:errors
We don't seem to have struts-examples.war readily available here at work.
Does anyone have an example of overriding an ActionForm's validate
Vegas, NV 89115
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]
-Original Message-
From: Fergal O'Shea [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 9:22 AM
To: 'Riyaz Mansoor'; 'Struts Users Mailing List'
Subject: RE: Html:messages vs
, NV 89115
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 12:28 PM
To: Struts Users Mailing List
Subject: Re: Html:messages vs html:errors
From
One cause of this is if it can't find the message key in your application
resources and you have your message resources configured with null=true.
If you change your message resources config to null=false in your
struts-config.xml
message-resources null=false
13 matches
Mail list logo