RE: [Actionframework-users] need hook to create chained context
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <cz5...@ti...> - 2002-10-08 14:12:54
|
>The VelocityContext object has no setChainedContext method; the only way= >to provide a chained context is in the constructor. >Right now AS hides the call to the constructor of the context, so there is >no way have a chained context. >Maybe a hook method such as createContext() or getChainedContext()? No, currently there's no such a method. If I can remember 1) you can only= access the wrapped context 2) there's a getContext() or createContext() in EngineServlet, but you don't have access to the engine from AS [this will be changed once engine API becomes public]. Btw, why do you need to create chained context? I've been thinking of a configurable Context class - this would allow defining common methods for= a webapp. Petr [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=3D22957959 ] _________________________________________________________________ Chcete v=ECd=ECt jak=E9 to je m=EDt =B9est jazyk=F9? Zkuste to na http://= slovnik.tiscali.cz |