Hi, I have a dispatcher that I like it to be called before page renders, problem is, it was never called in the program, anything I miss here? thanks.
Code: public class LocaleDispatcher implements Dispatcher { public boolean dispatch(Request request, Response response) throws IOException { System.out.println("locale dispatcher"); return false; } in appModule: binder.bind(LocaleDispatcher.class).withId("LocaleDispatcher"); public static void contributeLocaleDispatcher(OrderedConfiguration<Dispatcher> configuration, @InjectService("LocaleDispatcher") Dispatcher localeDispatcher) { configuration.add("LocaleDispatcher", localeDispatcher, "before:PageRender"); } -- View this message in context: http://www.nabble.com/T5%3Awhy-my-dispatcher-not-got-called--tp14411701p14411701.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]