h:selectManyListbox - selection jumps to last position on onchange event
posted 7 years ago
I use a h:selectManyListbox with size=5. I use a4j:support to handle the onchange event and to load some data when one value is selected. The values are assigned to the selectManyListbox via f:selectItems. The onchange event works and the other data are loaded.
What doesn't work: if i select one of the items above the size that is defined for the listbox the selection always jumps to the last position. Who knows why this happens and how to solve?
In the meanwhile i realized that this only happens in Firefox, in IE6/7 it's working! If I remove the reRender property of a4j:support the jumping isn't done, but i do not reRender this field, only the other which have to be updated.
thanks a lot in advance!
[ December 10, 2008: Message edited by: Nicole Mayer ]
[ December 10, 2008: Message edited by: Nicole Mayer ] [ December 10, 2008: Message edited by: Nicole Mayer ]