-
1. Re: Only display headers in first subtable ?
ilya_shaikovsky May 5, 2009 4:59 AM (in response to raphael_lemaire)if I get your case right - just use subtable instead of nested dataTAble. It encodes table structure but without nested table element. And puts its headers to parent table headers.
-
2. Re: Only display headers in first subtable ?
raphael_lemaire May 6, 2009 5:51 AM (in response to raphael_lemaire)Hi Ilya Shaikovsky, thanks for your answer.
I tried rich:subTable but it's not quite what I want : for each row of the parent table, it adds a row of headers and all rows of the "subtable". The rows of the "subTable" are rows of the parent table ! (This tag is weird ...).
I want to keep the sub tables as nested tables, but only display the headers for the first line of the parent table.
I managed to do it by declaring two almost identical sub tables, one with the "f:facet" headers, rendered only if it's the first row ("#{rowKey == 0}"), and one without headers rendered if it's not the first row ("#{rowKey != 0}"). But in this case I have duplication. That's why I asked for a clean way.
Beside f:facet does not have a rendered attribute, otherwise it would be very simple. -
3. Re: Only display headers in first subtable ?
raphael_lemaire May 19, 2009 4:30 AM (in response to raphael_lemaire)No idea ?
Maybe it's not possible ?