How to set the colum width for a rich:column
inside a rich:datatable
? The width
attribute is being ignored. See the following code:
<rich:column label="#{msg[result]}" width="150px">
<f:facet name="header">
<h:outputText value="#{veryLongText}"/>
</f:facet>
<h:outputText value="#{someValue}" />
<f:facet name="footer">
<h:outputText value="#{someValue}" />
</f:facet>
</rich:column>
If you render this column and veryLongText
is wider than 150px it does not break it in multiple lines. Instead, it just ignores the column width and takes as much as space needed.
How to fix this?