【发布时间】:2011-09-16 15:47:49
【问题描述】:
我在使用 primefaces 编辑数据表时遇到问题。 我已经测试了 datatableRowSelection 示例,但它不起作用。 当我单击按钮编辑时,将显示对话框但值为空。 请帮忙! 这是我的代码: 在:ListingPage.xhtml,我有:
<p:column headerText="Edition">
<p:commandButton update="edition" oncomplete="marqueDialog.show()" image="ui-icon ui-icon-pencil">
<f:setPropertyActionListener value="#{item}"
target="#{marqueController.selected}" />
</p:commandButton>
</p:column>
width="400" height="500" showEffect="explode" hideEffect="explode" modal="true" >
<h:panelGrid id="edition" columns="2" cellpadding="4">
</h:panelGrid>
</p:dialog>
【问题讨论】:
标签: jsf primefaces