Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Autoselect the first option in select many listBox  RSS feed

 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I was wondering if someone can give me suggestions on how to do auto select the first option in select many list box
I am using JSF 1.1_1. I don't see any attribute in the <h:selectManyListbox> that would allow me to do that, does this mean
I would need to rely on Javascript? Please advise, thank you.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!