How neat. That works a treat.
On Fri, 2008-11-07 at 10:22 -0800, Howard Lewis Ship wrote: > Tapestry has a Request service that is a "property shadow" of > RequestGlobals.request. That means that you can inject Request and > any method you invoke on it is forwarded to the current per-thread > Request object. > > The end result is you can treat Request as you like ... as the current > Request ... even though it is a shared global object. > > > On Fri, Nov 7, 2008 at 10:05 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to create a binding which is dependent on data within the user > > session. > > How can runtime information such as the request/session be made available to > > the Binding? > > > > In other bindings I have written I have injected any services I needed into > > the BindingFactory - but BindingFactory is created once, when the app loads, > > and so can not not know about the current runtime. > > > > Thanks, > > Joel > > > > -- > > SU3 Analytics Ltd > > 61b Oxford Gardens > > W10 5UJ > > London > > > > Tel: +44 20 8960 2634 > > Mob: +44 75 2501 0825 > > www.su3analytics.com > > > > SU3 Analytics Ltd is a company registered in England and Wales under company > > number 06639473 at registered address 61b Oxford Gardens, London W10 5UJ, > > United Kingdom. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- SU3 Analytics Ltd The Print House 18 Ashwin Street E8 3DL London Tel: +44 (0) 20 3051 8637 Fax: +44 (0) 20 8196 2215 Mob: +44 (0) 79 7431 0685 www.su3analytics.com SU3 Analytics Ltd is a company registered in England and Wales under company number 06639473 at registered address 61b Oxford Gardens, London W10 5UJ, United Kingdom. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]