Re: @InjectService(RequestGlobals)

2008-11-22 Thread superoverdrive
threadLocale Is this how it works? Thanks! Toby Original-Nachricht Datum: Fri, 21 Nov 2008 08:51:52 -0800 Von: Howard Lewis Ship [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: @InjectService(RequestGlobals) Do you see what your doing

Re: @InjectService(RequestGlobals)

2008-11-22 Thread Howard Lewis Ship
@tapestry.apache.org Betreff: Re: @InjectService(RequestGlobals) Do you see what your doing for the Logger? Do the same thing. On Fri, Nov 21, 2008 at 5:57 AM, [EMAIL PROTECTED] wrote: How do you inject RequestGlobals inside of AppModule ? I have tried: public RequestFilter buildTimingFilter(final

Re: @InjectService(RequestGlobals)

2008-11-22 Thread superoverdrive
Lewis Ship [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: @InjectService(RequestGlobals) Do you see what your doing for the Logger? Do the same thing. On Fri, Nov 21, 2008 at 5:57 AM, [EMAIL PROTECTED] wrote: How do you inject RequestGlobals inside

@InjectService(RequestGlobals)

2008-11-21 Thread superoverdrive
, RequestHandler handler) throws IOException { @InjectService(RequestGlobals) RequestGlobals requestGlobals; // disallowed for this location Inside of: public boolean service(Request request, Response

Re: @InjectService(RequestGlobals)

2008-11-21 Thread Howard Lewis Ship
() { public boolean service(Request request, Response response, RequestHandler handler) throws IOException { @InjectService(RequestGlobals) RequestGlobals requestGlobals; // disallowed for this location