RE: Html:messages vs html:errors

2005-04-06 Thread Michael Oliver
)974-0341 *Note new email changed from [EMAIL PROTECTED] -Original Message- From: Fogleson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 12:25 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Html:messages vs html:errors Michael, Are you capturing except

RE: Html:messages vs html:errors

2005-04-06 Thread Fogleson, Allen
member the exact text) and sorry I cant see your entire text. Can you forward the applicationResources file and the jsp mailto:[EMAIL 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 w

RE: Html:messages vs html:errors

2005-04-06 Thread Michael Oliver
ubject: 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 resources key. There being stored under the bundle key "Application

Re: Html:messages vs html:errors

2005-04-06 Thread Niall Pemberton
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 unn

RE: Html:messages vs html:errors

2005-04-06 Thread Michael Oliver
at can I check next? Michael Oliver CTO Alarius Systems LLC 3325 N. Nellis Blvd, #1 Las Vegas, 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

Re: Html:messages vs html:errors

2005-04-05 Thread Niall Pemberton
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 Then if it can't find the message for some reason, you s

RE: Html:messages vs html:errors

2005-04-05 Thread Michael Oliver
- 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 this and other messages I think you've got the wrong end of the stick regarding the tag. You can use either or with

RE: Html:messages vs html:errors

2005-04-05 Thread Michael Oliver
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:mes

Re: Html:messages vs html:errors

2005-04-05 Thread Niall Pemberton
ECTED]>; "'Struts Users Mailing List'" 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&

RE: Html:messages vs html:errors

2005-04-05 Thread Fergal O'Shea
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

Re: Html:messages vs html:errors

2005-04-05 Thread Hubert Rabago
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 documen

Re: Html:messages vs html:errors

2005-04-05 Thread Riyaz Mansoor
> 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 suc

Html:messages vs html:errors

2005-04-05 Thread Fergal O'Shea
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 documentatio