PigletWatcher schrieb:
> I have a <div> element tagged with id of "sidebar2", with css style of
> "sidebar" in master.kid. In addition, another user.kid file extentends
> masterid.
> 
> Now I wanna show up a <div> element in the position of "sidebar2" div
> element defined in master.kid. For this, i use <div
> py:match="item.tag=='sidebar2'"></div>, but it doesn't work.
> 
> Anyone knows why?

Because matching a *tag* to a class isn't ever going to yield True.

Try something like

py:match="d...@id=='sidebar2']"

At least that's according to the docs what should work.


Diez

--~--~---------~--~----~------------~-------~--~----~
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