Alternate submit tag...

2008-03-16 Thread Dale Newfield
As evidenced by the diffulties described on the user list in "Wildcard mapping should not suck (but does)", I propose that instead of having a method attribute on the submit tag that works w/o js in the client, but requires some black magic on the server side, we add an "action" attribute to th

Re: Alternate submit tag...

2008-03-16 Thread Jeromy Evans
Shouldn't validation just be fixed? The root problem is that validation only uses the action alias and doesn't check if a method name is provided in a parameter. The user of a wildcard just works-around that limitation to creating an alias it can match. For historical reasons there's at least

Re: [struts-dev] Alternate submit tag...

2008-03-16 Thread Dale Newfield
Jeromy Evans wrote: Shouldn't validation just be fixed? What you really want to say in the s:submit tag is "run this action instead" what we're currently saying is "run this method instead". Because of this, you're getting different validation than you want because changing the method doesn

Re: [struts-dev] Alternate submit tag...

2008-03-16 Thread Jeromy Evans
Dale Newfield wrote: Jeromy Evans wrote: Shouldn't validation just be fixed? What you really want to say in the s:submit tag is "run this action instead" what we're currently saying is "run this method instead". Because of this, you're getting different validation than you want because cha