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

    InputText boxes inside a selectOneRadio group

    Alex Cougarman Apprentice

      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.