my pe:dynaForm in p:tabview only last update
code example:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
<composite:attribute name="bean"
type="es.iam.mint.insp.composite.InspeccionesCompositeBean"></composite:attribute>
</composite:interface>
<composite:implementation>
<p:commandButton value="SAVE ALL"
actionListener="#{cc.attrs.bean.saveall}"
/>
<p:tabView value="#{cc.attrs.bean.agrupacionVistaDTO.inspecciones}"
var="inspeccion" id="agrupacion" activeIndex="#{cc.attrs.bean.obtenerIndexSeleccionado}">
<p:tab title="#{inspeccion.idInspeccion} - #{inspeccion.nombreTipoInspeccion}" >
<p:inputText id="comments" value="#{inspeccion.comments}"></p:inputText>
<p:panel id="panelCampos" header="Campos">
<pe:dynaForm value="#{inspeccion.dynaFormModel}" var="data" >
<pe:dynaFormControl type="STRING" for="STRING">
<p:inputText id="STRING" value="#{data.valor}"/>
</pe:dynaFormControl>
<pe:dynaFormControl type="ENUM" for="ENUM">
<p:selectOneMenu id="ENUM" value="#{data.valor}">
<f:selectItems value="#{data.valoresDominio}" var="dominio" itemLabel="#{dominio.literal}" itemValue="#{dominio.literal}" />
</p:selectOneMenu>
</pe:dynaFormControl>
</pe:dynaForm>
</p:panel>
</p:tab>
</p:tabView>
</composite:implementation>
</html>
PF 5.0
PFE 2.1.0
JSF 2.1 (jboss)
[
<groupId>org.jboss.spec.javax.faces</groupId>
<artifactId>jboss-jsf-api_2.2_spec</artifactId>
]
any idea or workaround?
I've tried updating versions, downgrade .. everything. I'm desperate..
Thanx!