I created two selectManyListboxes (size=5). The first one updates and reRenders the second one with the help of a4j:support.
The Functionality is working, but if i select one listitem above the defined size of 5 the selected item jumps on the last position
of the displayed area. This only happens in firefox. If i remove the reRender property of the a4j:support this doesn't happen!
Who knows why and how to solve?
Thanks a lot in advance!
<a:region>
<a:outputPanel id="countries">
<h:outputLabel value="#{messages['MyLabel.country']}"/>
<h:selectManyListbox id="selCtries" required="false" size="5"
value="#{myBean.selectedCountries}" >
<f:selectItems value="#{countries}"/>
<a:support event="onchange" reRender="destinations"
eventsQueue="main"
status="globalStatus"/>
</h:selectManyListbox>
</a:outputPanel>
</a:region>
<h:outputLabel value="#{messages['MyLabel.destination']}" />
<a:region>
<a:outputPanel id="destinations">
<h:selectManyListbox required="false" id="selDest" size="5"
value="#{myBean.selectedDestinations}">
<f:selectItems value="#{myBean.destinations}"/>
<a:support event="onchange" reRender="cities"
eventsQueue="main"
status="globalStatus"/>
</h:selectManyListbox>
</a:outputPanel>
</a:region>