Using Sitebricks, I want to generate a table where one object backs each <td>
in a table. The only examples I've seen have one object back an entire <tr>
- so the HTML is consistent across each row. I would like to be able to wrap N entries in <tr>
.
I don't want to have to have my page object in Sitebricks be aware of the layout of the page (and so have to add indices or structure the items as a List<List<Something>>
).
Any ideas?
Edit: This is, of course, not limited to Sitebricks, but is a general question about separation of model from view using web templating systems.