Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.8.2-EE-Beta, 1.8.2-EE-GA, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:SUSE Linux 10 (x86_64), ICEFaces 1.8.2
Description
This seems to be a regression with 1.8.2.
ice:columns used inside a ice:dataTable creates 1 extra <td> element than number of <th> elements when table is empty. As a result table renders badly. Screen shot of the table and HTML generated by ICEFaces is attached. Below is the code snippet -
<ice:dataTable>
<ice:columns>
<f:facet name="header">
<ice:commandSortHeader>
<ice:outputText />
</ice:commandSortHeader>
</f:facet>
</ice:columns>
<ice:outputText />
</ice:dataTable>
This problem is not seen if <ice:columns> is replaced by multiple <ice:column> elements, however, this workaround is not useful in our use case, where the file containing this dataTable is a reusable facelet and used by many other pages.
ice:columns used inside a ice:dataTable creates 1 extra <td> element than number of <th> elements when table is empty. As a result table renders badly. Screen shot of the table and HTML generated by ICEFaces is attached. Below is the code snippet -
<ice:dataTable>
<ice:columns>
<f:facet name="header">
<ice:commandSortHeader>
<ice:outputText />
</ice:commandSortHeader>
</f:facet>
</ice:columns>
<ice:outputText />
</ice:dataTable>
This problem is not seen if <ice:columns> is replaced by multiple <ice:column> elements, however, this workaround is not useful in our use case, where the file containing this dataTable is a reusable facelet and used by many other pages.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion