i would like to use PrimeFaces to migrate our big application from RichFaces to some better (faster) framework. But I have some problem with ajax rendering:
If I use for example menuButton component in some update area it will stop working after ajax request. The reason is that the java script is not rerender after ajax request. If I use rerender the whole page with submit request than the component start working again.
I've also tested on your actual showcases war.
Code: Select all
<h:panelGrid columns="2" cellpadding="5" id="xxx">
<p:menuButton value="Options">
<p:menuitem value="Save" actionListener="#{buttonBean.save}" update="messages, xxx" />
<p:menuitem value="Update" actionListener="#{buttonBean.update}" update="messages"/>
<p:menuitem value="Delete" actionListener="#{buttonBean.delete}" ajax="false"/>
<p:menuitem value="Homepage" url="http://www.primefaces.org"/>
</p:menuButton>
<p:ajaxStatus style="width:16px;height:16px;">
<f:facet name="start">
<h:graphicImage value="../design/ajaxloading.gif" />
</f:facet>
<f:facet name="complete">
<h:outputText value="" />
</f:facet>
</p:ajaxStatus>
</h:panelGrid>
This is only big problem we have. therwise the PrimeFaces components are great (GUI and perfomance).
Regards
Jan