如何在同一行中包含包含带有Primefaces的子表的dataTable?我在做什么? [英] How to do a dataTable containing a subtable with Primefaces in the same row? What's doing with mine?
本文介绍了如何在同一行中包含包含带有Primefaces的子表的dataTable?我在做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
看看我的表的行为,我希望字段email的行出现在字段Email中,而不是图像中显示的行...
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...
有人可以帮助我吗?
推荐答案
在您的电子邮件列表中使用< ui:repeat>
,然后将其打印在电子邮件"列中.
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>
这篇关于如何在同一行中包含包含带有Primefaces的子表的dataTable?我在做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文