Michael Jouravlev wrote:
> * Stick dispatching features in base Action, thus making all actions
> to be dispatch actions.
>
> Minor drawback:
>
> * only one dispatching behavior can be chosen.
>
> Thoughts? Objections? Suggestions?

Works for me, with the following commentary (some of which may be
misguided or plain wrong, as usual ;)

- make the default "no handler" method the standard "execute" method so
current code would actually use the new dispatching stuff w/o change but
could be easily extended to handle multiple dispatches etc. (Did that
make sense?)

- make the dispatching mechanism injectable via a struts config
"dispatchMethod" attribute so you could easily switch between a param,
URL element, etc.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to