On Wed, 18 Dec 2002 19:33, you wrote:
> Hi,
> in the screen I put sth in the context like this:
>
> navi = new Hashtable();
> navi.put("test",data.getParameters().getInteger("mainmenu",0));
> ctx.put("navigation",navi);
> Log.info("test="+navi.get("test")); --> returns 0 correctly
> ctx.put("hello", new String("world")); --> is available in context
>
> Now when I try to access the Hashtable in my vm-template like this:
> #if ($navigation.get("test")==0) ...

Don't use "$navigation" as the name of your context variable.  Turbine 
uses that name internally for including navigation templates.

Try ctx.put("menu", navi) instead.

-- Rodney



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

Reply via email to