wood burning stoves 2.0*
The moose likes JSF and the fly likes Nested components in <h:selectOneRadio> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Nested components in <h:selectOneRadio>" Watch "Nested components in <h:selectOneRadio>" New topic
Author

Nested components in <h:selectOneRadio>

Sven Moschel
Greenhorn

Joined: Oct 13, 2010
Posts: 10
Hi,

we have the requirement to implement a <h:selectOneRadio> component with nested components.

Example:

# Export all
# Export language
-----------------------------------------
- Listbox that holds some values.
- Only active when "export language
- is selected
-----------------------------------------
# Export something else
...

Does anybody have a idea how to implement this? Please let me know ;)


Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

Have you tried doing exactly that?


Customer surveys are for companies who didn't pay proper attention to begin with.
Sven Moschel
Greenhorn

Joined: Oct 13, 2010
Posts: 10
Thanks for your reply. I will try this...
Sven Moschel
Greenhorn

Joined: Oct 13, 2010
Posts: 10
I tried your example. It doesn´t work for me because the listbox will be displayed above the radio box. The expected result is that the listbox will be displayed under the radio box.

 
jQuery in Action, 2nd edition
 
subject: Nested components in <h:selectOneRadio>
 
Similar Threads
valueChangeListener not called.
Create a Different selectOneListbox Depending On the Radio Button Clicked
Default selection of Radio Button when added to h:panelGrid
problem using h:selectOneRadio & a4j:support
Unable to create war file in dist folder in tomcat