This java illustration will show how to create html radio buttons with JSF. When using h:selectOneRadio JSF tag, it generates the necessary HTML to display radio button and uses a combination of table, input of type radio, and label.
JSF 1.0, 2.0, 2.2 selectOneRadioButton
JSF 2.2 pass through
JSF 2.2 introduced the ability to write standard HTML/HTML5 elements and bind values using JSF passthrough attributes and elements. Below shows an example to use radio buttons without a table and your favorite front end framework such as bootstrap or google material design.
Using the same backing bean or managed bean above we will specify the name as passthrough attribute which will override the implicit attribute. If you are a front end developer you can tell that this is closer to a natural templating.