I have a problem to update a primefaces component with an ajax event.
a small example:
Code: Select all
<h:selectOneMenu id="selectMenu" value="#{myBean.menuValue}">
<f:selectItem itemValue="true" itemLabel="Yes"/>
<f:selectItem itemValue="false" itemLabel="No"/>
<p:ajax event="change" update="output" process="selectMenu"/>
</h:selectOneMenu>
<p:inputMask id="output" mask="" value="#{myBean.menuValue}"/>
I tried to embed the primefaces component into an p:outputPanel but there's the same effect. if there's no primefaces component in the outputPanel it works otherwise not.
Any ideas?
Thx, regards Marcus