+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
