Re: T5 customization with web.xml

2008-02-27 Thread Davor Hrg
you can override protected ModuleDef[] provideExtraModuleDefs(ServletContext context) { return new ModuleDef[0]; } it will definitely get called before registry is constructed Davor hrg On Wed, Feb 27, 2008 at 5:56 PM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > Thanks for tha

Re: T5 customization with web.xml

2008-02-27 Thread Moritz Gmelin
Thanks for that hint, since the init method of the Filter (or its subclasses) is only called after the binding of the AppModule is done, I can still not get to those properties. But I could write a "delegate" filter that internally initializes a TapestryFilter after reading the parameters a

Re: T5 customization with web.xml

2008-02-27 Thread Davor Hrg
you could extend TapestryFilter, and copy properties from web.xml into system properties, and use system properties in your module On Wed, Feb 27, 2008 at 9:41 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to customize my AppModule.binding() method based on > parameters I write

T5 customization with web.xml

2008-02-27 Thread Moritz Gmelin
Hi, I'd like to customize my AppModule.binding() method based on parameters I write in the web.xml file. Therefore I'd need to access the ServletContext or tapestrys SymbolProvider in the bind() method of my AppModule service. This is because I'd like to distribute different applications wi