I'm using a datalist to display some tasks. If I place a p:outputLabel in the page the text fits automatic to the pagesize. When I put the text inside of the p:dataList i see only one line and the text is cut off.
Is there a way to display the whole text with linebreaks? I tried some css without sucess...
Code: Select all
<h:form>
<p:dataList id="dataList" value="#{userBean.changedTasks}" var="task" pt:data-inset="true">
<p:panel header="#{task.tid}, #{task.customer}">
<p:outputLabel value="#{task.notes}" />
</p:panel>
</p:dataList>
</h:form>
typhon