How to do a dataTable containing a subtable with Primefaces in the same row? What's doing with mine?

断了今生、忘了曾经 提交于 2019-12-25 12:44:08

问题


Look at the behavior of my table, I want that the lines of field email appear inside of the field Email and not like that show in the image...

Can anyone help me?


回答1:


use <ui:repeat> over your email list, and print them inside e-mail column.

<ui:repeat var="email" value="#{user.emailList}">
#{email} <br/>
</ui:repeat>


来源:https://stackoverflow.com/questions/9982944/how-to-do-a-datatable-containing-a-subtable-with-primefaces-in-the-same-row-wha

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!