Paulo Silveira said: > I am having truble trying to use the utility classes for the toolbox use. > > I dont wanna use VelocityViewServlet, neither Chained/ViewContext, but > ServletToolboxManager has a cast in getToolboxContext(Object param), > casting param to ViewContext. > > I do sugest an extra method, getToolboxContext(ServletContext, > ServletRequest,...), giving the users an option.
hmm. most of the standard tools we provide expect to receive a ViewContext during initialization. if we added the method you suggest, i'm not sure how it would work. can you provide a patch for this? it would make it easier to assess. also, why don't you want to use the ViewContext interface? i'm curious. > And there are _many_ other places where this kind of restrictions apply. > Extra methods (not overriden ones) could help. i'd be happy to consider any enhancement requests. and if you can provide patches for them, that would particularly help. > Thanks for the great job. By the way, what is the meaning for a > getVelocityContext() in ViewContext? i didn't put it there, but my understanding is that it is to allow alternate implementations of ViewContext which provide access to a VelocityContext but are not an instance of VelocityContext themselves (as ChainedContext is). Nathan Bubna [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
