[Twisted-web] A question about sequence
Alberto Trujillo
alberto.trujillo at ucd.ie
Fri Sep 16 05:41:27 MDT 2005
Hello everybody:
Thank in advance for all the help that you have gave me.
Well I have seen how works the sequences in nevow and is very cool, but
always I find the problem that I don't know how to defined limits inside
the sequence.
What I want to do is create a table with multiple row and two colums (at
least in this case). Well, each colum is a item, and each column
contained a table with mutiple slots that I have to fill.
Right now my html code look like this:
<table nevow:data="myplugins" nevow:render="sequence">
<tr nevow:pattern="item" nevow:render="myplugins">
<td>
<table>
<tr>
<td>
<div align="center"><nevow:slot
name="plugin_name"/></div>
</td>
</tr>
...
</table>
</td>
</tr>
<tr nevow:pattern="empty">
<td>Empty</td>
</tr>
</table>
But of course in this way the result is a table with multiple row and
only one column, because the item is the row.
There is any way to insert more than one cell in the same row, and after
a numbers of cell that I decide, insert a new row?
I'll was checking the example of the "calendar", but in that way I must
to specified too may patterns.
Well I hope that somebody can give me a solution.
Thanks a lot
More information about the Twisted-web
mailing list