This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSF and the fly likes Want to have h:inputText element after every radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Want to have h:inputText element after every radio button " Watch "Want to have h:inputText element after every radio button " New topic
Author

Want to have h:inputText element after every radio button

Srini Mutpur
Greenhorn

Joined: Mar 29, 2008
Posts: 24

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






[Thumbnail for Radio-Input.jpg]


SCJP 1.5
 
jQuery in Action, 2nd edition
 
subject: Want to have h:inputText element after every radio button