+ for _eventName override.

Ruslan Zenin
Senior Consultant, Financial Services

BearingPoint
Management & Technology Consultants 

20 Bay Street, Suite 1000
WaterPark Place
Toronto, ON M5J 2X9
Canada

T + 1 416 775 6013
C + 1 905 330 7121
F + 1 416 775 7635 
  
www.bearingpoint.com 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Gunter
Sent: May 19, 2008 3:33 PM
To: Stripes Users List
Subject: [Stripes-users] Another quick poll

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
***************************************************************************************************
The information in this email is confidential and may be legally privileged. 
Access to this email by anyone other than the intended addressee is 
unauthorized. If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful. If you 
are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***************************************************************************************************

-------------------------------------------------------------------------
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