h:commandbutton不能在h:datatable中工作

时间:2014-05-23 23:29:24

标签: jsf

<h:commandbutton> <f:ajax> <h:datatable>的人不在<h:panelgroup>工作。 它在<h:datatable><h:panelGroup id="output4"> <h:dataTable border="1" class="data_table" value="#{admin.list}" var="o"> <h:column> <f:facet name="header">Id</f:facet> #{o.id} </h:column> <h:column> <f:facet name="header">İsim</f:facet> #{o.isim} </h:column> <h:column> <f:facet name="header">Yazar/Yönetmen/Yapımcı/Sanatçı</f:facet> #{o.yazar} </h:column> <h:column> <f:facet name="header">Yayınevi</f:facet> #{o.yayinevi} </h:column> <h:column> <f:facet name="header">Fiyat</f:facet> #{o.fiyat} &#8378; </h:column> <h:column > <f:facet name="header">İşlem</f:facet> <h:panelGroup id="userPanel"> <h:panelGroup> <h:form> <h:commandButton value="Sil" > <f:param name="islem" value="2" /> <f:param name="id" value="#{o.id}" /> <f:ajax execute="@this" event="action" id="5" listener="#{test.deleteRecord()}" /> </h:commandButton> </h:form> </h:column> </h:dataTable> </h:panelGroup> 之外时有效。但在这种情况下,它不起作用。

{{1}}

0 个答案:

没有答案