JSF selectManyCheckbox Example

The JSF selectManyCheckbox displays an HTML <TABLE> with multiple <input type=”checkbox”> components. The number of checkboxe is depend on the JSF <selecetItem>. Below is the JSF h:selectManyCheckbox and its corresponding HTML component


Java Server Faces:








Below is the JSF page has a <h:selectManyCheckbox> where value is bound to the backing bean class of String array object. 




Below is the backing bean class of String array object




This is how the JSF selectManyCheckbox rendered in the browser. The console prints the selected items on submitting the form


JSF_selectManyCheckBox_Example JSF selectManyCheckbox Example



Download the Project


govindan JSF selectManyCheckbox Example
Connect me


Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
govindan JSF selectManyCheckbox Example
Connect me
By | 2017-11-25T12:15:08+00:00 November 25th, 2017|Categories: JSF|Tags: , , , |Comments Off on JSF selectManyCheckbox Example
Like us on Facebook.