<p:outputPanel>
<h:selectOneRadio value="#{myBean.favColor1}">
<f:selectItem itemValue="Red" itemLabel="Color1 - Red" />
<f:selectItem itemValue="Green" itemLabel="Color1 - Green" />
<f:selectItem itemValue="Blue" itemLabel="Color1 - Blue" />
</h:selectOneRadio>
<p:ajax update="picker,#{myBean.clientId}"/>
</p:outputPanel>
I need to update a component whose id is generated programmatically.