Re: T5 Module methods call

2009-06-29 Thread haipeng du
Thanks Thiago. That makes sense. On Mon, Jun 29, 2009 at 2:44 PM, haipeng du wrote: > Thanks for your reply. As I understand, I do no need to create such service > from my module class. There is one tapestry service called > IgnoredPathsFilter already. Also, from url: > http://tapestry.apache.or

Re: T5 Module methods call

2009-06-29 Thread haipeng du
Thanks for your reply. As I understand, I do no need to create such service from my module class. There is one tapestry service called IgnoredPathsFilter already. Also, from url: http://tapestry.apache.org/tapestry5.1/guide/conf.html , it does not talk about to create such service when I have contr

Re: Re: T5 Module methods call

2009-06-29 Thread nille hammer
Hi guys, > TapestryModule.class, part of Tapestry, defines an IgnoredPathsFilteer > service inside method bind(), so there's no need to define it again. ;) I have missed that. Thanks Thiago for putting that correct. Regards, nillehammer - original Nachricht Betreff: Re

Re: T5 Module methods call

2009-06-29 Thread Thiago H. de Paula Figueiredo
Em Mon, 29 Jun 2009 16:15:51 -0300, nille hammer escreveu: Hi Haipeng, Hi everyone! but this one is not called: public static void contributeIgnoredPathsFilter(Configuration configuration) I don't know if that's your problem, but this method will only be called when the first request

Re: T5 Module methods call

2009-06-29 Thread nille hammer
Hi Haipeng, > but this one is not called: > public static void contributeIgnoredPathsFilter(Configuration > configuration) > { > configuration.add("/dwr/.*"); > configuration.add("/scripts/.*"); > configuration.add("/logout"); > > } The contribution method is

T5 Module methods call

2009-06-29 Thread haipeng du
I have my own service module class under my services sub package to set up my application configuration. There is one method to set up application defaults, it is called corrected, public void contributeApplicationDefaults(MappedConfiguration configuration){ configuration.add(SymbolConstan