This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to have h:inputText element after every radio button

Srini Mutpur
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I would like to have input text element after every radio and radio elements are generated using h:selectOneRadio. Will it be possible ?

Please have look at the attached screen shot. It has three radio elements and three input text elements. I trying to have this input text element after every radio element.

Below is the code for the same.
<h:selectOneRadio id="days">
<f:selectItem itemLabel="Sunday" itemValue="sun"></f:selectItem>
<f:selectItem itemLabel="Saturday" itemValue="sat"/>
<f:selectItem itemLabel="Friday" itemValue="fri"/>
T1: <h:inputText />
T2: <h:inputText />
T3: <h:inputText />

Please let me know if it is possible using h:selectOneRadio element ?

Thanks in advance.


Raido-Input Text screenshot
[Thumbnail for Radio-Input.jpg]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic