RE: messages/errors 2 form's 1 page

2004-02-04 Thread Saul Q Yuan
Do the two action mappings share the same form bean? If yes, that might be the problem. Try to use two separate form beans, see how it goes. Saul -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 8:52 AM To: Struts Users Mailing List

Re: messages/errors 2 form's 1 page

2004-02-04 Thread Mark Lowe
Thanks for the response. No they don't.. They're completely different forms, with different actions. Looks like going down the TileAction route. On 4 Feb 2004, at 16:43, Saul Q Yuan wrote: Do the two action mappings share the same form bean? If yes, that might be the problem. Try to use two

RE: messages/errors 2 form's 1 page

2004-02-04 Thread Yee, Richard K,,DMDCWEST
Users Mailing List Subject: Re: messages/errors 2 form's 1 page Thanks for the response. No they don't.. They're completely different forms, with different actions. Looks like going down the TileAction route. On 4 Feb 2004, at 16:43, Saul Q Yuan wrote: Do the two action mappings share the same

RE: messages

2004-01-07 Thread Richard Hightower
ActionMessages, saveMessages and getResources oh my! Back in the primordial ooze of Struts pre-1.1, people liked ActionErrors. They started using them for tasks for which they were never intended. People started using ActionErrors as a general-purpose way to display i18n-enabled dynamic messages.

Re: messages

2004-01-06 Thread hgosper
An easy way would be to have a field in the JSP that corresponds to a field in your ActionForm. The you just put your message into the form field. For instance I often display debugging information using a hidden field and I set write=true when I want to debug eg I am running database

RE: messages

2004-01-06 Thread Mohan Radhakrishnan
I just use ActionErrors for everything but I am guessing that it is html:errors for errors and html:messages for messages. Mohan -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: messages I'm able

Re: messages

2004-01-06 Thread Otávio Augusto
That means there is an ActionMessages ? Otávio Augusto On Wed, 7 Jan 2004 11:41:08 +0530 Mohan Radhakrishnan [EMAIL PROTECTED] wrote: I just use ActionErrors for everything but I am guessing that it is html:errors for errors and html:messages for messages. Mohan -Original

Re: messages

2004-01-06 Thread Camron G . Levanger
There is an ActionMessage Package, If i remember correctly. I think Action Errors maybe even Extends it. Camron G. Levanger The Dreamlab www.dreamlabmedia.com (866) 890-3705 On Jan 6, 2004, at 11:11 PM, Otávio Augusto wrote: That means there is an ActionMessages ? Otávio Augusto On Wed, 7 Jan

Re: messages tag not displaying messages

2003-12-05 Thread Richard Yee
Frank, I believe you want to use the bean:messages ./ tag. There isn't an html:messages tag. -Richard At 06:18 PM 12/5/2003, you wrote: The messages tag supposed to display all the messages automatically ? When I place this on the JSP, the messages do not display: [EMAIL PROTECTED]

Re: messages tag not displaying messages

2003-12-05 Thread Richard Yee
Frank, Please disregard the last message. I wasn't paying attention and was looking at the Struts 1.0 docs instead of Struts 1.1. If you are using ActionMessages, then in your action, you'd have something like this: ActionMessages messages = new ActionMessages(); ActionMessage msg = new

Re: messages 101

2003-07-28 Thread amr
in your html:message tag you need to set the message property to true. You'd end up with something like this html:messages id=message message=true bean:write name=message/br /html:messages

RE: messages 101

2003-07-28 Thread Cruz, Edward J.
snip html:messages id=error bean:write name=error/br / /html:messages /snip The html:messages tag looks by default to the ActionErrors queue. Try adding the message=true attribute to the tag. html:message id=error message=true bean:write name=error/br/

Re: messages into struts 1.1

2003-04-02 Thread Gareth Andrew
I've just had a similar problem, recently. The docs seem to be a bit misleading (or perhaps the docs are right and theres a bug somewhere?). html:messages doesn't seem to do any actual writing, its just a form of iterator that loops through the specified messages and puts them in a page-scope

Re: messages into struts 1.1

2003-04-02 Thread Kirby Vandivort
I was just running across this in something i was working on.. In the html tag, try html:messages id=messages message=true and see if that helps. On Wed, Apr 02, 2003 at 12:25:52PM +0100, [EMAIL PROTECTED] wrote: Hi everyone, Is anybody knows how to use messages system of struts. I just

RE: Messages...

2002-10-15 Thread James Mitchell
That is the internal message resources used by the framework. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 6:21 AM To: Struts Users Mailing List Subject:

RE: messages collection?

2002-08-13 Thread Kamholz, Keith (corp-staff) USX
I'm doing this right now, but not using the errors collection. I have a request parameter that knows whether or not an object was added. My code is: logic:equal parameter=added value=true bi Entry AddedbrAdd Another? /i/b br html:link

Re: messages with parametric replacements and avoiding scriptlets

2002-07-05 Thread Craig R. McClanahan
On Fri, 5 Jul 2002, Jan Vervecken wrote: Date: Fri, 05 Jul 2002 11:41:19 +0200 From: Jan Vervecken [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: messages with parametric replacements and avoiding scriptlets hi Is there a way to

Re: Messages

2002-02-28 Thread Sidhartha Jain
Hi I think I could give you a little bit of clue You need to import this file import org.apache.struts.util.MessageResources; And then in perform method write MessageResources messages= getMessageResources(); Then you can retrieve messages like messages.getMessage(Msgname in Property File

Re: Messages

2002-02-28 Thread Eddie Bush
Yes, in fact, you're right. The errors tag does just that. You might try looking at the source code for the tag. Once you have downloaded and uncompressed the source distribution, change to the subdirectory: src/share/org/apache/struts/taglib which is located under the main directory created

Re: Messages like Errors...

2001-10-25 Thread David Winterfeldt
Are you talking about a general message or an error message? The below works with nightly builds or the Validator project (in the Struts nightly source contrib/validator directory or http://home.earthlink.net/~dwinterfeldt) has tags to do this if you aren't using nightly builds.

Re: messages resource-file

2001-10-03 Thread Dragomir Nikolov
Hello Christophe, Check if you have put portal-messages.properties into WEB-INF/classes/com/oxiasoft.portal.presentation/ directory Or this propertie is in some other direcotry in the CLASSPATH variable. Greetings Dragomir Christophe Marchand wrote: Hi all !I've deployed a struts-based

Re: messages resource-file

2001-10-03 Thread Christophe Marchand
: Dragomir Nikolov To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 7:43 PM Subject: Re: messages resource-file Hello Christophe, Check if you have put portal-messages.properties into WEB-INF/classes/com/oxiasoft.portal.presentation/ directory Or this propertie is in some

RE: messages resource-file

2001-10-03 Thread Thinh Doan
Any Idea ? - Original Message - From: Dragomir Nikolov To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 7:43 PM Subject: Re: messages resource-file Hello Christophe, Check if you have put portal-messages.properties into WEB-INF/c