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 Radio button layout. 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 "Radio button layout." Watch "Radio button layout." New topic
Author

Radio button layout.

satyanarayana bnv
Greenhorn

Joined: Aug 07, 2008
Posts: 12
I am using "selectOneRadio" in JSF. I need the layout of radio buttons in rows and columns other than "page direction" and "line direction". My requirement is like I have six radio buttons and I need them to be in 3 rows and 2 columns. Can anyone please help me.

Thanks in advance.

Satya
Akbar Basha R
Greenhorn

Joined: Mar 11, 2002
Posts: 23
Hi Satya,
You have to create a custom renderer and associate that for the radio button in faces-config.xml. In this way, you control how you want the html to be generated for the radio button.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Radio button layout.
 
Similar Threads
BorderLayout
About AWT!
Complex Page Layout
radio button selection in jtable
Dynamic radio buttons matrix using Struts