could it be, that the dialog in combination with a selectOneMenu is buggy if a customized converter in the selectOneMenu is used?
Example:
Code: Select all
<h:form prependId="false">
<p:dialog id="dialogPiqueList" widgetVar="dialogPiqueList">
<h:outputLabel for="title2" value="Mitarbeiter:"/>
<h:selectOneMenu id="title2" value="#{piqueListBean.user}">
<f:selectItem itemDisabled="true" itemLabel="Bitte wählen"/>
<f:converter converterId="userConverter"/>
<f:selectItems value="#{piqueListBean.allUser}" var="user" itemLabel="#{user.lastname}" itemValue="#{user}"/>
<p:ajax event="change" actionListener="#{piqueListBean.userChanged}" update="messagesPiqueList,title2"/>
</h:selectOneMenu>
<p:commandButton value="Trage Mitarbeiter ein" actionListener="#{piqueListBean.create}" update="dataTablePiqueList" onclick="dialogPiqueList.hide()"/>
</p:dialog>
But if the p:dialog would be replaced with a p:panel it will works. But I should have the selectOneMenu in the dialog-component.
Thanks and regards
Mikloman