On 6/8/06, Adam Samere <[EMAIL PROTECTED]> wrote:
Niall Pemberton wrote:
> On 6/7/06, Adam Samere <[EMAIL PROTECTED]> wrote:
>> This works fine if you handle it in the manner you described previously,
>> but does not account for any messages added by the framework, other
>> developers, etc. and f
Niall Pemberton wrote:
On 6/7/06, Adam Samere <[EMAIL PROTECTED]> wrote:
Niall Pemberton wrote:
> On 6/7/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
>> At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
>> >In my actions I have messages stored in the session either under
>> >ActionMessages.GLOBAL_M
On 6/7/06, Adam Samere <[EMAIL PROTECTED]> wrote:
Niall Pemberton wrote:
> On 6/7/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
>> At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
>> >In my actions I have messages stored in the session either under
>> >ActionMessages.GLOBAL_MESSAGE, or my own key (e
On 6/8/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
>AFAIK there is no actual processing related to
>ActionMessages.GLOBAL_MESSAGE in Struts and adding another attribute
>just adds confusion with global="true" being an alias for
>property="org.apache.struts.action.GLOBAL_MESSAGE". Better for peopl
AFAIK there is no actual processing related to
ActionMessages.GLOBAL_MESSAGE in Struts and adding another attribute
just adds confusion with global="true" being an alias for
property="org.apache.struts.action.GLOBAL_MESSAGE". Better for people
to just use their own simpler property names to achiev
On 6/7/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
The first approach seems more logical to me. After all, the first
parameter in ActionMessages.add() is supposed to be a property name.
Hmmm that changes my perspective a little.
Thanks for the comments Michael.
Chris
---
I like the second approach better as it means I only have to keep
track of one message collection in each individual action. It just
means that I don't use the GLOBAL_MESSAGE constant, but I think I can
live with that.
Thanks Niall :)
Chris
On 6/7/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
On 6/7/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
On 6/7/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> In my actions I have messages stored in the session either under
> ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
>
> In my jsp I have a section to display the search specific
Niall Pemberton wrote:
On 6/7/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
>In my actions I have messages stored in the session either under
>ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
>
>In my jsp I have a section to display the se
Scott Van Wart moaned
> Wish Eclipse had a Search/Replace in Files...
Search | File... | Replace...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 6/7/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
>In my actions I have messages stored in the session either under
>ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
>
>In my jsp I have a section to display the search specific messages.
Scott Van Wart wrote:
Wish Eclipse had a Search/Replace in Files...
Wait, it does. Again, I didn't look hard enough.
- Scott
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Joe Germuska wrote:
Is ActionMessages.GLOBAL_MESSAGE going to be deprecated? I use
org.apache.struts.Globals.MESSAGE_KEY instead.
No!
Read the javadoc -- that constant is not used for the purpose of
locating messages added to an ActionMessages object with no defined
property. Instead, it's
Is ActionMessages.GLOBAL_MESSAGE going to be deprecated? I use
org.apache.struts.Globals.MESSAGE_KEY instead.
No!
Read the javadoc -- that constant is not used for the purpose of
locating messages added to an ActionMessages object with no defined
property. Instead, it's used to locate an Ac
On 6/7/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
In my actions I have messages stored in the session either under
ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
In my jsp I have a section to display the search specific messages.
I also need to display the global messages
e; Struts Users Mailing List
Subject: Re: displaying ActionMessages.GLOBAL_MESSAGE messages only
At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
In my actions I have messages stored in the session either under
ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
In my jsp I have a sect
Joe Germuska wrote:
technically, you would use
property="org.apache.struts.action.GLOBAL_MESSAGE">
It has been observed that this is kind of cumbersome. A nice
enhancement (that just about any willing volunteer could do, hint hint
:-) ) would be to enhance the logic:messagesPresent,
le keeping scriptlet expressions out of your page!
Joe
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 3:55 PM
To: Chris Cheshire; Struts Users Mailing List
Subject: Re: displaying ActionMessages.GLOBAL_MESSAGE messages only
At 12:47 PM -0
t: Wednesday, June 07, 2006 3:55 PM
To: Chris Cheshire; Struts Users Mailing List
Subject: Re: displaying ActionMessages.GLOBAL_MESSAGE messages only
At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
>In my actions I have messages stored in the session either under
>ActionMessages.GLOBAL_MESSAGE
re; Struts Users Mailing List
Subject: Re: displaying ActionMessages.GLOBAL_MESSAGE messages only
At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
>In my actions I have messages stored in the session either under
>ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
>
&
At 12:47 PM -0700 6/7/06, Chris Cheshire wrote:
In my actions I have messages stored in the session either under
ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
In my jsp I have a section to display the search specific messages.
I also need to display the global messages at t
In my actions I have messages stored in the session either under
ActionMessages.GLOBAL_MESSAGE, or my own key (eg 'search').
In my jsp I have a section to display the search specific messages.
I also need to display the global messages at the top of the page,
however this displays everyth
22 matches
Mail list logo