velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magne Skjeret <magne.skje...@broadpark.no>
Subject Re: hashtable dot in key
Date Thu, 05 Aug 2004 09:19:32 GMT
Magne Skjeret wrote:

> Hi
>
> I have a problem with looking up in a hashtable from the template when 
> the key has a dot in it.
>
> E.G
> $!i18n.tab.type
>
> I understand why this example wont work, but is there a way I can do 
> this? Escaping the dot somehow.

Of course using the get method direclty will work, but a cleaner 
solution is appreciated.

Magne

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


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


Mime
View raw message