try: public static void contributeMasterDispatcher(...) { configuration.add("LocaleDispatcher", localeDispatcher,"before:PageRender"); configuration.add("anotherserviceid",anotherservice,"before:LocaleDispatcher"); }
this is the reason why you have to provide an id... then you can apply before: 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 just added, how to do that? I already have this: public static void contributeMasterDispatcher(OrderedConfiguration<Dispatcher> configuration, @InjectService("LocaleDispatcher") Dispatcher localeDispatcher) { System.out.println("contributing localedispatcher"); configuration.add("LocaleDispatcher", localeDispatcher, "before:PageRender"); } Thanks, 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. The > contributions are simple objects, not services (though this is a > design decision). > > -- View this message in context: http://www.nabble.com/T5%3Awhy-my-dispatcher-not-got-called--tp14411701p14437544.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]