|
Hi.
I'm accessing a hash with TT
that has some predfined keys, such as
'background-color' or 'text-family' so that they match with CSS
styles.
when I do
this:
[% hash.background-color =
'black' %]
I get a parsing error.
(unexpected token (=)). I think TT is trying to evaluate the minus
first.
�is there a workaround for
this?
P.D.
I've tried:
1.
[% set a =
"background-color" %]
[% hash.$a =
'black' %]
2.
[% hash."background-color" = 'black'
%]
3.
[%
hash.${'background-color'} = 'black' %]
Jos� Lu�s Mart�nez
Departamento de Desarrollo de Software CAPSiDE, consultores tecnol�gicos [EMAIL PROTECTED] Tel. +34 934 266 731 |
- Re: [Templates] Parsing Error in some hashes Jose Luis Martinez
- Re: [Templates] Parsing Error in some hashes darren chamberlain
