--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> This actually ties back to what Magesh proposed (the
> dispatch task).
> 
> One of the useful bit his proposal allowed was to
> conditionally
> execute one mode or the other thanks to
> mode="${mode}", where
> mode can be configured/computed before-hand. If we
> had a way to
> configure and execute a task in a similar indirect
> way, we'd achieve
> the same goal, will still using different tasks.
[SNIP]

Your example here was a good one for some of the
capabilities this type of thing would have (besides
accommodating my enthusiasm for brevity).  Maybe we
could handle tasks/types with a single tag/class.  
<object> or perhaps <bean>?  Opinions?  I don't think
this qualifies as entirely replacing Magesh's proposal
since, as he implied, some developers may WANT to keep
the related "operations" or modes in a single
implementing class, for whatever reasons.  But either
would definitely work nicely with conditions.

-Matt


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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

Reply via email to