I am updating primfeaces v.5.3 to v.10.0. I already have updated to version 10.0 but I have found a problem with one ajax sentence:
Code: Select all
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
template="/WEB-INF/templates/genericOperations.xhtml">
<ui:define name="radio">
<h:form>
<br/>
<h:panelGroup layout="block" rendered="#{genericOperation.searchCAA and genericOperation.searchBO5}">
<h:selectOneRadio value="#{genericOperation.operation}" class="radioButton">
<f:selectItem itemLabel="#{msg['Operaciones-CAA']}" itemValue="0" />
<f:selectItem itemLabel="#{msg['Operaciones-BO5']}" itemValue="1" />
<p:ajax update="panelGroupGenericOperations"/>
</h:selectOneRadio>
</h:panelGroup>
</h:form>
</ui:define>
<ui:define name="operations">
<h:panelGroup layout="block" id="panelGroupGenericOperations">
<h:panelGroup layout="block" rendered="#{genericOperation.operation == 0}">
<ui:include src="../../caa/qry/operations.xhtml" />
</h:panelGroup>
<h:panelGroup layout="block" rendered="#{genericOperation.operation == 1}">
<ui:include src="../../gas/qry/operations.xhtml" />
</h:panelGroup>
</h:panelGroup>
</ui:define>
</ui:composition>
I have seen the migration guide https://primefaces.github.io/primefaces ... ationguide but I can't see any reference to ajax inside a h:panelGroup or h:selectItem
Anybody knows how can I resolve the problem? Or why is happening?
Thank you in advance