aspose file tools*
The moose likes JSF and the fly likes display nested components selectOneRadio and inputText Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "display nested components selectOneRadio and inputText" Watch "display nested components selectOneRadio and inputText" New topic
Author

display nested components selectOneRadio and inputText

Kumar Saravanan
Ranch Hand

Joined: Aug 25, 2004
Posts: 40
Hi,

I would like to display 3 radio button and input text needs to be displayed in between first and second radio button with a specific intent.

I am using selectOneRadio to display radio buttons.

I have no idea how to embed the textfield inside the radio button.

Can anyone help?

Thanks,
Kumar
[ November 19, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Originally posted by Kumar Saravanan:
I am using selectOneRadio to display radio buttons.

This has no meaning in standard JSP. Is it some library you are using?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kumar Saravanan
Ranch Hand

Joined: Aug 25, 2004
Posts: 40
May be this can explain you clearly.

This is what my JSF code is:-

Maximum 3 radio buttons will be displayed.

<h:selectOneRadio id="type"
value="#{mybean.type}">
<f:selectItems value="#{myBean.types}"/>
</h:selectOneRadio>

But, I would like to display h:inputText (which will bound to a specific property in my managed bean) in between first 2 radio button.

Sorry for the confusion.

Thanks,
Kumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display nested components selectOneRadio and inputText
 
Similar Threads
selectOneRadio with nowrap
selectOneRadio problem
dynamic selectOneRadio
selectOneRadio inside a columnEx
selectOneRadio - javascript get value