need to wrap text in af:column
663926Apr 5 2010 — edited Sep 2 2010Hi,
i have a af:column with output text. Need to wrap the text in output text. Tried setting the NoWrap to false, but did not work. Below is the code. I really appreciate if someone could help me in fixing this issue.
<af:table value="#{bindings.POC.collectionModel}"
var="row"
rows="#{bindings.POC.rangeSize}"
emptyText="#{bindings.POC.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.POC.rangeSize}"
rowBandingInterval="0"
selectedRowKeys="#{bindings.POC.collectionModel.selectedRow}"
selectionListener="#{bindings.POC.collectionModel.makeCurrent}"
rowSelection="single" id="t9"
inlineStyle="width:100.0%; height:100%;text-align:left; vertical-align:top;">
<af:column sortProperty="Comments" sortable="false"
headerText="Description" id="c65"
width="847"
inlineStyle="text-align:left; vertical-align:top;"
noWrap="false">
<af:outputText value="#{row.bindings.Comments.inputValue}"
shortDesc="#{bindings.POC.hints.Comments.tooltip}"
id="it2" noWrap="false"/>
</af:column>
</af:table>
Thanks