Selection tags

Selection Tags

  • JSF has seven tags for making selections:
    • h:selectBooleanCheckbox
    • h:selectManyCheckbox
    • h:selectOneRadio
    • h:selectOneListbox
    • h:selectManyListbox
    • h:selectOneMenu
    • h:selectManyMenu




Checkboxes and Radio Buttons

  • Two JSF tags represent checkboxes:
    • h:selectBooleanCheckbox
    • h:selectManyCheckbox
  • The h:selectBooleanCheckbox tag represents a single checkbox that you can wire to a boolean bean property. 
    • Example of Checkboxes:
    • Example of Radio:

Menus and Listboxes

  • Menus and listboxes are represented by the following tags:
    • h:selectOneListbox
    • h:selectManyListbox
    • h:selectOneMenu
    • h:selectManyMenu
    • Example of h:selectOneListbox:
  • Example of h:selectManyListbox:

  • Example of h:selectOneMenu: 

Thanks a lot for query or your valuable suggestions related to the topic.

Previous Post Next Post

Contact Form