This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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.