Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

h:selectManyListbox - selection jumps to last position on onchange event

 
Nicole Mayer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

Nil

[ December 10, 2008: Message edited by: Nicole Mayer ]

[ December 10, 2008: Message edited by: Nicole Mayer ]
[ December 10, 2008: Message edited by: Nicole Mayer ]
 
It's just a flesh wound! Or a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!