You cannot assume an object that is placed into the context by a Screen
will be available when a navigation template is parsed. Either place
the object into the context in a Navigation module or a Layout module.
Arkaitz wrote:
>
> Hi all,
>
> I have a Velocity navigation template that has some dynamic content,
> which Velocity doesn't seems to transform it correctly.
>
> I'll explain: In a ScreenFoo.java, I put "apple" and "apples" in the
> context, and use them both in the screen(screenFoo.vm) and navigation
> templates. In the screen everything goes Ok, but in the navigation,
> "apples" get substituted correctly, whilst "apple" doesn't get
> substituted. I get a "$apple is not a valid reference" message in the
> velocity logs.
>
> Any hint?
>
> Cheers,
>
> Arkaitz.
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]