Re: T5:why my dispatcher not got called?

2007-12-20 Thread Kristian Marinkovic
: and after: rules :) g, kris Angelo Chen [EMAIL PROTECTED] 20.12.2007 15:39 Bitte antworten an Tapestry users users@tapestry.apache.org An users@tapestry.apache.org Kopie Thema Re: T5:why my dispatcher not got called? Hi Howard, If I want to add another Dispatcher before the one I

Re: T5:why my dispatcher not got called?

2007-12-20 Thread Angelo Chen
Hi Howard, If I want to add another Dispatcher before the one I just added, how to do that? I already have this: public static void contributeMasterDispatcher(OrderedConfigurationDispatcher configuration, @InjectService(LocaleDispatcher) Dispatcher localeDispatcher) {

Re: T5:why my dispatcher not got called?

2007-12-19 Thread Howard Lewis Ship
contribute methods should be named after the service to which you make the contribution. Try naming the method contributeMasterDispatcher. On Dec 18, 2007 9:50 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I have a dispatcher that I like it to be called before page renders, problem is, it

Re: T5:why my dispatcher not got called?

2007-12-19 Thread Angelo Chen
Hi Howard, This works, thanks. so how many Dispatcher services in Tapestry 5? only MasterDispatcher? also, what's the difference between Dispatcher and Filter? we have to bind(LocaleDispatcher.class) for dispatcher, but for Filter we dont have to do that, just

Re: T5:why my dispatcher not got called?

2007-12-19 Thread Howard Lewis Ship
On Dec 19, 2007 2:55 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi Howard, This works, thanks. so how many Dispatcher services in Tapestry 5? only MasterDispatcher? On service, MasterDispatcher, implements the Dispatcher interface, but it's a chain of command, delegating to its contributions.

Re: T5:why my dispatcher not got called?

2007-12-19 Thread Angelo Chen
Hi Howard, Thanks for the explanation, it clears up many things. A.C. Howard Lewis Ship wrote: On Dec 19, 2007 2:55 PM, Angelo Chen [EMAIL PROTECTED] wrote: On service, MasterDispatcher, implements the Dispatcher interface, but it's a chain of command, delegating to its contributions.