Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to have h:inputText element after every radio button

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

Hi,

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.
Day
<h:selectOneRadio id="days">
<f:selectItem itemLabel="Sunday" itemValue="sun"></f:selectItem>
<f:selectItem itemLabel="Saturday" itemValue="sat"/>
<f:selectItem itemLabel="Friday" itemValue="fri"/>
</h:selectOneRadio>
T1: <h:inputText />
T2: <h:inputText />
T3: <h:inputText />

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

Thanks in advance.

Srini



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