I am currently working on a search that goes through the database and delivers the result in the form h:dataTablein my web application. However, it h:dataTablehas quite a few extra lines.
Simple code of mine h:selectManyCheckbox:
<h:panelGroup styleClass="panelGroup">
<h:selectManyCheckbox value="#{searchBean.auswahl}">
<f:selectItems value="#{searchBean.auswahl}" />
</h:selectManyCheckbox>
</h:panelGroup>
With the default layout of mine, h:selectManyCheckboxit just displays all of my 30 checkboxes on one line, completely ruining the site design.
However, after looking at possible layout options, there seem to be only two.
Either display them all in one line horizontally, as by default, or display them all vertically. I prefer the layout of something along lines of several lines with 5 flags.
How do I achieve this?