<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中?
发布于 2012-10-23 21:40:39
您似乎忘记了列的定义:
<rich:dataTable ... >
<rich:column ... >
<a4j:commandLink ... />
</rich:column>
</rich:dataTable>而且你必须向表格提供一个列表。如果您只想呈现<table>,那么<h:panelGrid>就是您要查找的标记。
https://stackoverflow.com/questions/13027100
复制相似问题