Laureano Arcanio schrieb:
> How do I put parallel variables in the same container using genshi 
> templates ?
> <div>
> ${wg1.display()}
> ${wg2.display()}
> </div>
> 
> using py:for inside a tag will create a new tag for each cycle, and i 
> don't want that, i need they be in the same container.

You mean this will create a DIV for each iteration?

<div py:for="widget in widgets">
${ET(widget())}
</div>

Then do

<div>
<div py:for="widget in widgets" py:strip="">
${ET(widget())}
</div>
</div>

That seems so simple that I fear misunderstood your question...

Chris

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