velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nbu...@gmail.com>
Subject Re: Referencing a property which contains "." in its name
Date Wed, 09 Mar 2011 17:16:14 GMT
You will have to put the context into itself and do $context.get('abcd.defg')

On Wed, Mar 9, 2011 at 9:03 AM, sebb <sebbaz@gmail.com> wrote:
> If the context contains a property with the name abcd it can be
> referenced as $abcd.
>
> I've checked the documentation, but cannot work out how to reference a
> property with the name abcd.defg.
>
> Is this possible? If so, how?
>
> Using Velocity 1.5 (Maven site 2.2)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message