2 Replies Latest reply on May 22, 2010 6:50 PM by honyk

    InputText boxes inside a selectOneRadio group

    oneworld95

      Hi. I'm trying to figure out how to place h:inputText boxes immediately to the right of each radio button in an h:selectOne Radio group. But I can't get the items to show across a single line:

       

      <h:selectOneRadio value="#{webencode.inputMediaType}"
          id="rdoInputMediaType" layout="lineDirection">
          <f:selectItem itemValue="something" itemLabel="something"/>

          <h:inputText value="nothing" />
      </h:selectOneRadio>

       

      Here's how this SHOULD look:

       

      O something [nothing_________]

       

      But it keeps coming out this way:

       

      [nothing_________]

      O something

       

      What am I doing wrong? Thanks.