voyent
Messages posted by: jerome  XML
Profile for jerome -> Messages posted by jerome [5]
Author Message
Hello,

I am using Seam 1.1 Beta 2 (latest from CVS, running JBoss 4.0.5 with MyFaces 1.1.4) and Icefaces 1.5. I am using the Icefaces libraries bundled with the Seam/Icefaces integration example (the ones that come with D2DSeamFaceletViewHandler).

I have this:
Code:
<ice:dataTable id="someId" value="#{someList}" var="someData" rendered="#{someList.rowCount>0}"
 				sortColumn="#{myBean.columnSort}" sortAscending="#{myBean.ascendingSort}"
 				columnClasses="columnLeftAlign, columnLeftAlign, columnLeftAlign, columnLeftAlign, columnLeftAlign"
 				scrollable="#{myBean.scrollableListEnabled}" scrollHeight="#{myBean.scrollableListHeight}"
 				columnWidths="20%,20%,20%,20%,20%">


With columnWidths given in %, only datatable headers will be resized when maximizing browser window (or simply resizing). Datatable columns won't be resized.

Is this a known bug ? Is there a workaround ?

Regards,
Jerome.

PS: I am also using facelets.



Hi,

I faced the same issue when trying to bind a tabset to a Seam component (a simple java bean). A workaround was to copy the Icefaces libs in JBoss server lib directory.

Sam, you may be facing the same issue here (or similar).

Regards,
Jerome.
Hello Sam,

It might be a classloader/"class visibility" issue.

Regards,
Jerome.
Thank you Philip.

Did you know about the commandSortHeader/datatable/ %columnWidths bug ? Is there a workaround ?

Regards,
Jerome.



Hello,

I have also tried to use the ice:rowselector inside a datatable.

Unfortunately, the form containing the datatable is never submitted since some Ice.util... functions are missing, ice-extras.js is never included.

Regarding ice:datatable, there are also issues related to commandSortHeader : if the datatable is set to be scrollable, and if the columnWidths are set in %, then the column headers are not rendered properly: the last column header, the one that should be 20px wide (above the vertical scollbar) is not rendered.

Finally, in the component showcase, the scrollable datatable is included inside a basic <table></table>. Why is that so ? Is it really needed ?

I am using Seam 1.1 Beta2 + Icefaces 1.5 + facelets.

Regards,
Jerome.
 
Profile for jerome -> Messages posted by jerome [5]
Go to:   
Powered by JForum 2.1.7ice © JForum Team