i have a problem in a rich POPUPPANEL in my form i have a selectonemenu with converter it works great if i make the component in simple form with panel grid but when i make this on popuppanel the value of selectonemenu not send to my bankingbean i find it null
i tried a multi trick but no result
so here my code in view .xhtml
<h:form>
<rich:popupPanel id="piecePanel" autosized="true" width="500"
domElementAttachment="form" header="Modifier">
<a4j:outputPanel>
<b><h:messages style="color: red;" /></b>
</a4j:outputPanel>
<rich:panel>
<h:panelGrid columns="3">
<h:outputText value="Piece *"></h:outputText>
<h:selectOneMenu converter="#{GenericConverter}"
value="#{pieceBean.piece}">
<f:selectItem itemLabel="" />
<f:selectItems value="#{listBean.selectPiece}" />
</h:selectOneMenu>
<a4j:commandButton action="#{pieceBean.affectpiece2Vehicule}"
limitRender="true" render="tablePiece"
onclick="#{rich:component('waitFormPanel')}.show()"
oncomplete="#{rich:component('waitFormPanel')}.hide()"
value="affecter" />
</h:panelGrid>
</rich:panel>
<rich:panel>
<rich:dataTable id="tablePiece" value="#{pieceBean.piecesByVehicule}"
var="dataItem" rows="12">
<rich:column>
<f:facet name="header">
<h:panelGroup>
<h:outputText value="prix" />
</h:panelGroup>
</f:facet>
<h:outputText value="#{dataItem.piece.prix}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:panelGroup>
<h:outputText value="action" />
</h:panelGroup>
</f:facet>
<a4j:commandButton action="#{pieceBean.disaffectpiece}"
limitRender="true" render="tablePiece" execute="@this"
onclick="#{rich:component('waitFormPanel')}.show()"
oncomplete="#{rich:component('waitFormPanel')}.hide()"
styleClass="ajoutBtn" value="desaffecte">
<f:setPropertyActionListener value="#{dataItem}"
target="#{pieceBean.currentPieceVehicule}" />
</a4j:commandButton>
</rich:column>
</rich:dataTable>
</rich:panel>
</rich:popupPanel>
you are facing problem how rich:popupPanel is generated on page, when you try to find his ID via firebug on page you will realize that is not in form any longer on client but was generated outside of form! Only solution is to make sure that h:form is always inside of rich:popupPanel not outside. Please try and let me know.