O'Reilly logo

PrimeFaces Beginner's Guide by K. Siva Prasad Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Working with Selection Input Components

Selection components such as drop-down lists, checkboxes, and radio buttons are vey commonly used elements in web applications. But native HTML selection input components are very limited and don't provide enough features to build modern complex and rich user interfaces. To address this, PrimeFaces provides several selection input components with enhanced features and theming support.

In this chapter, we will cover the following components:

  • Creating the toggle button using SelectBooleanButton
  • Creating the On or Off options using SelectBooleanCheckbox
  • Introducing SelectManyCheckbox
  • Introducing SelectOneRadio
  • Introducing SelectOneButton
  • Introducing SelectManyButton
  • Creating drop-down lists using SelectOneMenu ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required