I have something like this:
<h:form id="form">
<p:dialog id="profileDialogId">
<p:panelGrid id="categoryFunctions" columns="2" >
<p:outputPanel id="profileFunctions" >
<p:panelGrid columns="1" >
<p:scrollPanel scrollMode="buttons" mode="native" >
<p:outputLabel for="functionList" value="Functions:" />
<p:selectManyCheckbox id="functionList" value="#{profileConf.selectedCategoryDto.selectedFunctions}" layout="pageDirection" >
<f:selectItems value="#{profileConf.selectedCategoryDto.functionList}" var="function" itemLabel="#{function.functionDesc}" itemValue="#{function.functionCod}" />
</p:selectManyCheckbox>
</p:scrollPanel>
</p:panelGrid>
</p:outputPanel>
</p:panelGrid>
</p:dialog>
</h:form>
and I want to send with ajax only the component with "functionsList" id.
I already tried
<f:ajax event="valueChange" execute=":form:functionList" listener="#{profileConf.functionsForCategory}" update=":form:functionList"/>
but when I put a breakpoint in functionsForCategory method selectedFunctions property is null. Any help will be appreciated. Thanks!