3 Rows per list item in table

Hi all.

In most the screens I have, each value object in my list creates one row in my table which is fine I have no problems with that.

However I have the need to display a table where each value object in the list has 3 rows of data so I need one row to create HTML like this...

<TR>

<TD rowspan='3'> An ID </TD>

<TD> data </TD>

<TD> data </TD>

<TD> data </TD>

</TR>

<TR>

<TD> data </TD>

<TD> data </TD>

<TD> data </TD>

</TR>

<TR>

<TD> data </TD>

<TD> data </TD>

<TD> data </TD>

</TR>

How do I do this in JSF?, I have had to do this as a plain JSP page for now but I hope there is a way to do this. Any help greatly appriacated

TIA

Dale

[955 byte] By [Dale_Ellisa] at [2007-11-27 1:35:41]
# 1

Sorry, no rowspan/colspan like attributes in JSF. Sometimes you can get away with using a f:facet for headers and footers... But not likely in the case you exampled.

I really think JSF needs something to facilitate better table formatting. Unless I'm missing something huge (possible). I don't think you can do this with CSS either (at least, on the h:panelGrid tag).

CowKing

IamCowKinga at 2007-7-12 0:44:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks CowKing,I was beginning to think this, couldn't find anything in the JSF book I have.Thanks for reply,Dale
Dale_Ellisa at 2007-7-12 0:44:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...