David Sean Taylor wrote:

>Raphael,
>
>Why is there more than one context?
>
>In a turbine action, if I do
>
>        Context context = TurbineVelocity.getContext(data);
>         context.put("thing", thing);
>
>And then in a velocity  page, I try
>
>       $thing
>
>It doesn't find it.
>  
>

I don't think it's a good idea to use the global app context for the 
protlet as they may otherwise
screw jetspeed application context by mistake (think for example that 
you want to display a dynamic
object from the context in the bottom navigation...).
So VelocityPortlet creates an independant context for each instance.

-- 
Rapha�l Luta - [EMAIL PROTECTED]
Professional Services Manager
Vivendi Universal Networks - Paris




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

Reply via email to