Scott F. Walter <scott.walter <at> vivare.com> writes:
> I noticed that setupForRequest() is gone from Tapestry 4 BaseEngine
> class.  Is there an alternative to use?
> 
> I primarily used setupForRequest() to stuff a Spring Context into
> my Global object.

This is a trick my colleague used in Tapestry 3.0, basically 
override "createGlobal"

http://scm.sipfoundry.org/rep/sipXconfig/main/web/src/org/
sipfoundry/sipxconfig/site/BeanFactoryGlobals.java

http://scm.sipfoundry.org/rep/sipXconfig/main/web/src/org/
sipfoundry/sipxconfig/site/SipxconfigEngine.java

Really slick in 3.0 and I'd be interested if it still works 
in 4.0

We could reference any context bean via 
  global.myBeanName



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to