column « Tag « JSF Q&A

1. JSF h:column tag fix width

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

    <f:facet name="header">

2. JSF h:column tag not evaluating rendered attribute

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}'>