If you are looking at an action class or screen class where the Context is 
pushed through on the backend, you can access your pull tools by
taking the pull tool from the context object.

import com.mycompany.tools.PullTool;


        PullTool pTool = (PullTool) context.get("toolReference");

you can then manipulate your pull tool on the backend until your needs are 
met. then you will want to place your pull tool (now updated) back into
the context so that it's changes are not lost...

        context.put("toolReference", pTool);

I think this is what you were asking... if not please let us know.

Jeffery Painter


On Wed, 5 May 2004, it was written:

> In Turbine-2.3, how would you get velocity context within a Request pull tool?
> i.e., in my request pull tool, I need to do something like:
>       Context ctx = whichClass.getTemplateContext(data)
> 
> thanks in advance!
> 
> richard
> 

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

Reply via email to