<richdatatable>
<a4j:commandLink styleClass="addLink" action="#{depotOpeningStockManageBean.createNewLotShow}"
execute="@this" oncomplete="#{rich:component('addPane')}.show()" value="Create" >
</a4j:commandLink></richdatatable>
<rich:popupPanel id="addPane" resizeable="true" domElementAttachment="parent">
<h:commandLink value="cancel" onclick="#{rich:component('addPane')}.hide()" />
</rich:popupPanel>
为什么弹出窗口显示在richdataGrid和richpanel上,而不是在richDatatable中?
答案 0 :(得分:0)
好像忘记了列定义:
<rich:dataTable ... >
<rich:column ... >
<a4j:commandLink ... />
</rich:column>
</rich:dataTable>
您必须提供表格列表。如果您只需要<table>
呈现,那么<h:panelGrid>
就是您要查找的标记。