hello
we have a table, which contains "comments" column
a comment is a usual text, for example what i am currently typing is a comment
and therefore, it contains linebreaks
we declare a table like this:
Code:
<ice:dataTable
id="searchResultsTable"
var="order"
value="#{searchForm.searchResultsTable.rowDataModel}"
rendered="#{searchForm.searchSucceeded}"
rows="#{searchForm.searchResultsTable.resultsPerPage}">
<ice:columns value="#{searchForm.searchResultsTable.columnDataModel}">
<jsf:facet name="header">
<ice:panelGroup >
<ice:outputText
id="rowData"
value="#{searchForm.searchResultsTable.columnDataModel.rowData}"/>
</ice:panelGroup>
</jsf:facet>
<!-- display the table cell values-->
<ice:panelGroup style="text-align: center; white-space: nowrap;" >
<ice:outputText
id="cellValue"
value="#{searchForm.searchResultsTable.cellValue}"/>
</ice:panelGroup>
</ice:columns>
</ice:dataTable>
and the "ice:outputText" is the place where we output the comment
but when we use the linebreak tag:
Code:
, it is encoded like a "less than, b, r, slash, greater than"
how can we place a linebreak into the table cell?