This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 16022
    
  20

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.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Nested components in <h:selectOneRadio>