I'm using PrimeFaces 5.3.5 and MyFaces 2.2.8
here is my code:
<p:panelGrid columns="1">
<p:panelGrid id="Input1">
<p:inputText size="40" id="searchValue" value="#{searchWindowBean.suggest}">
<p:ajax event="keyup" listener="#{searchWindowBean.changeOptions}" update="customeroptions" delay="300"
partialSubmit="true" process="@this" /> <!-- this update works-->
</p:inputText>
</p:panelGrid>
<p:panelGrid id="InputX">
<p:dataTable value="#{searchWindowBean.searchColumn.searchFields}" var="field">
<p:column>
<h:outputText value="#{field.displayName}" />
</p:column>
<p:column>
<p:inputText size="40" id="inputValue" value="#{field.value}">
<p:ajax event="keyup" listener="#{searchWindowBean.changeOptions}" update=":customeroptions" delay="300"
partialSubmit="true" process="@this" /> <!--this one doesn't-->
</p:inputText>
</p:column>
</p:dataTable>
</p:panelGrid>
<p:panelGrid>
<p:selectOneListbox value="#{searchWindowBean.selectItem}" id="customeroptions" styleClass="customeroptions"
scrollHeight="100">
<f:selectItems value="#{searchWindowBean.list}" />
<p:ajax disabled="#{!searchWindowBean.dependingFields}" partialSubmit="true"
update="contact_person" />
</p:selectOneListbox>
</p:panelGrid>
</p:panelGrid>
I almost tried everything to make the second update for "customerpotions" work. But it doesn't even find the update id. The first ajax update works properly, so does the rest of my code. If I use the parentform:j_id_m:15:customeroptions it works. How could this be? It would be great to have a solution with explanation.