0
我有這樣的:在primefaces添加和刪除節點treetable中
<p:treeTable id="#{treeTableId}" value="#{tableBeanRoot}" var="element"
resizableColumns="true"
selection="#{budgetTemplateElementBean.selectedNode}"
selectionMode="single" widgetVar="#{treeTableId}widget">
<f:facet name="header">
</f:facet>
<p:column style="width:150px">
.....
</p:column>
.....
<f:facet name="footer">
<p:commandButton value="#{msg.addChildNode}"
actionListener="#{actionBean.addChildNodeAction}"
process="@this,#{treeTableId}" update="#{treeTableId} :growl" />
<p:commandButton value="#{msg.deleteNode}"
actionListener="#{actionBean.deleteNodeAction}"
process="@this,#{treeTableId}" update="#{treeTableId} :growl" />
</f:facet>
</p:treeTable>
在Primefaces treetable中如何添加和刪除樹節點?我可以把什麼東西放回到豆子裏?
感謝
謝謝,讓我們試試 – Luermo 2013-05-14 13:51:01