• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic