Right, Chameleon supports TAL.  It does not support TALES.  Expressions are
all Python.

Chris


On Mon, Jan 27, 2014 at 3:47 PM, Douglas Cerna <[email protected]>wrote:

> I think:
>
> "not repeat/menu/end"
>
> should be:
>
> "not repeat['menu'].end"
>
> right?
>
>
> On Sun, Jan 26, 2014 at 6:33 PM, chris strutton <[email protected]>wrote:
>
>> I have the following code in a `Chameleon` template:
>>
>>     <span tal:repeat="menu view.site_menu">
>>         <tal:block tal:condition="menu.current">
>>             <span>${menu.title}</span>
>>         </tal:block>
>>         <tal:block tal:condition="not menu.current">
>>             <span><a href="/${menu.href}">${menu.title}</a></span>
>>         </tal:block>
>>         <tal:block tal:condition="not repeat/menu/end">
>>             <span> | </span>
>>         </tal:block>
>>     </span>
>>
>> When I try to render this page I get the following error:
>>
>>     TypeError: unsupported operand type(s) for /: 'RepeatDict' and 'dict'
>>      - Expression: "not repeat/menu/end"
>>     ...
>>
>> Can anyone see what I am doing wrong here?
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pylons-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/pylons-discuss.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to