I used this approach :

py:match="item.get('id')=='sidebar2'"

But the content which i wanna display on sidebar area still shows up
in old place, and the content displaying in sidebar area which defined
in master.kid disappears.

anyone knows why?

Christoph Zwerschke 写道:
> Diez B. Roggisch schrieb:
> > Try something like
> >
> > py:match="d...@id=='sidebar2']"
> >
> > At least that's according to the docs what should work.
>
> That's the syntax for Genshi which is using XPath expressions.
>
> For Kid you must use something like this:
>
>     py:match="item.get('id')=='sidebar2'"
>
> -- Christoph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to