I'd like to hear some feedback on an enhancement of MappingDispatchAction
(ParameterMappingDispatchAction) which I have contributed. It merges the
flexibility of choosing the dispatch through the request plus the static
configuration of which methods can be invoked.
I've used this very successfully myself -- mainly for forms with many buttons
like a wizard form. This was inspired by Tapestry because not only does
Tapestry allow certain buttons to dictate which method to be called, but
sometimes no button is submitted at all (the enter key in IE) and a default is
selected.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38343
My testing was in Struts 1.2.8 and is targeting 1.2.x branch. If someone
needs be to write a test case, I will -- but please explain how I should do
it. I am use to non-http junit testing. If you want something more complex, I
will require some direction.
Paul
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.