On Jul 11, 1:30 am, Alex King <[EMAIL PROTECTED]> wrote:

> I have a list of groups, I need a way to iterate through the groups in
> kid without producing an html output element.  The child nodes must be
> visible though.

My guess is that you use py:for and py:strip on the element that
contains your groups, and py:for to generate child nodes.

Perhaps something like this untested code:

<table>
<div py:for="group in groups" py:strip="True">
  <tr><td colspan=n>Group ${group.number}</td></tr>
  <tr py:for="row in group">
    <td>${row.item1}</td>
    <td>${row.item2}</td>
    <!-- etc -->
</div>
</table>

--
Ben Sizer

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