• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dropdown: show labels in dropdownmenu, show value when item in dropdownmenu is selected  RSS feed

 
Fhomas Peeters
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Using h:selectOneMenu with SelectItems I want to show the labels in the choice items, but, when a value is chosen I only want to display the 'value' in the selectOneMenu, not the label.

The reason for this: Business wants as much information as possible when a user opens the selectOneMenu, but due to that, the label value is way too large. So they only want to see the value after the choice is made and not the label.

Can this be done?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!