Hi,
I'm facing strange behavior or rich:pickList. Here is the code:
<rich:panel header="title"> <h:selectBooleanCheckbox value="#{vykazBean.vse}"> <a4j:support event="onchange" reRender="picklist" ajaxSingle="false"/> </h:selectBooleanCheckbox> <h:outputLabel value="some text"/> <br/> <br/> <rich:pickList value="#{vykazBean.dorucovatelEDSList}" id="picklist" converter="DorucovatelItemConverter" disabled="#{vykazBean.vse}" <f:selectItems value="#{vykazBean.dorucovateleItems}"/> </rich:pickList> </rich:panel>
By default the value of #{vykazBean.vse} is true so the pickList is disabled. User can enable the pickList by clicking on checkbox. But in that case the pickList doesn't fill the #{vykazBean.dorucovatelEDSList}
Removing the tag disabled="#{vykazBean.vse}" makes it work, but this is not the solution.
Any idea why is this happening?
Thanks
Pavel