column « Tag « JSF Q&A





1. JSF h:column tag fix width    stackoverflow.com

Can someone show me how to fix the width of a column in a datatable with JSF? My code currently reads:

<h:column>
    <f:facet name="header">
       ...

2. JSF h:column tag not evaluating rendered attribute    stackoverflow.com

I've got a JSF data table that conditionally displays each item based on a Boolean property of the item, as follows:

<h:dataTable value='#{sessionBean.items}' var='item'>
    <h:column rendered='#{item.visible}'>
    ...