Re: [Actionframework-users] Default items into the Context
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-06-18 18:34:04
|
> We may want to add extra standard items to the context in future > releases, but this risks namespace problems. So instead why don't we > put an ActionFrameworkStandardContext object into the context. At the > moment this would give us to use in our templates > > $ActionFramework.Servlet $ActionFramework.Url $ActionFramework.Action > $ActionFramework.Version I agree this is useful! > But I can see lots of other good stuff that could go in here, some of > it depending on the debug level of ActionFramework so that if > debugging it makes extra diagnostics available, giving us a similar > feature to phpinfo() which is great when installing/diagnosing php. > > I don't mind if we use ActionServlet, ActionFramework, AS or AF as > the name in the context. How about $context :) Personally, I would like to wait with this until ActionClient version (AS technology used on client side planned for 0.95/0.96), because this can be done in beforeInvoke() as you have noted. Of course, we can discuss what else may be put there. -Petr -- >>> http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 <<< |