Sounds like we have a consensus then. This will be how it works in 1.5.

-Ben

Asleson, Ryan wrote:
I think _eventName should override any other event method resolution
methods.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of cracru
Sent: Monday, May 19, 2008 6:57 PM
To: Stripes Users List
Subject: Re: [Stripes-users] Another quick poll

+1 for _eventName as override

On Mon, May 19, 2008 at 12:32 PM, Ben Gunter <[EMAIL PROTECTED]> wrote:
This one is about the _eventName parameter. I have gotten the impression that many people think _eventName works differently than it

actually does. If you pass a parameter named _eventName, then Stripes will use its value as the event to execute, but only if no other parameter indicates the event. So if you have an ActionBean that has foo and bar as events, if you pass just _eventName=foo then foo() will

execute. If you pass foo=whatever&_eventName=bar then foo() will still

execute because it takes precedence.

The JIRA issue I created this morning
(http://www.stripesframework.org/jira/browse/STS-568) proposes that if

_eventName is present then it should override any other parameters. In

a comment, Tim pointed out a reason why we might not want to do that. It's one of those things that could happen but probably not very often. We're wondering what you all think about it, and how many of you thought _eventName would override other parameters.

-Ben

----------------------------------------------------------------------
--- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to