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

display nested components selectOneRadio and inputText

 
Kumar Saravanan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Kumar Saravanan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic