Use the layout
attribute on p:selectOneRadio
with value pageDirection
.
Here are possible values for layout
:
lineDirection
- For Horizontal DirectionpageDirection
- For Vertical direction.grid
- For a grid patternpageDirection
- For Vertical direction.responsive
- For dynamically using the space providedcustom
- For custom Layout.