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 and saving them as System
parameters.
M.
Am 27.02.2008 um 10:30 schrieb 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 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 with
the
same AppModule class and just change the configuration based on the
web.xml file that I package.
Thanks
Moritz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]