File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Radio button layout.

 
satyanarayana bnv
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic