This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Want to have h:inputText element after every radio button
 
Similar Threads
JSF SelectOneRadio and inputText
Radio
How to make one of the Radio button default selected
A formatting question with radio buttons
How to create Hyperlink for SelectItem