glasspill
glasspill

Reputation: 1300

layout with h:selectoneradio

how do you get h:selectOneRadio to not display items inline, considering it only renders one row? or how do you get it to render one row per item?

    <h:selectOneRadio value="#{cc.attrs.radioItem}" styleClass="radioOptions">
                <f:selectItems value="#{cc.attrs.radioItems}" />
                <f:ajax render="detailPanel :pricingTable" />
</h:selectOneRadio> 

Upvotes: 1

Views: 9947

Answers (1)

BalusC
BalusC

Reputation: 1108632

You need to set the layout attribute to pageDirection.

<h:selectOneRadio value="#{cc.attrs.radioItem}" layout="pageDirection">

This would not easily be fixable by CSS as it actually renders a <table>.

See also:

Upvotes: 13

Related Questions