• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display list of radiobuttons in one column

 
Amitkumar Fulambarkar
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to display the radio buttons in one column however, it displays in one line one after the other. Could someone help me with this?

Here is the code I am trying with.
.jsp



Bean:

 
H Jetly
Ranch Hand
Posts: 41
Google Web Toolkit Redhat Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Increasing the number of columns in the panelGrid will get more than one radio buttons in a line.
 
Amitkumar Fulambarkar
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jetly,

Thank you for the reply. I want to have all the items in one column, hence I used



However, it still displays all the items in one row.
 
H Jetly
Ranch Hand
Posts: 41
Google Web Toolkit Redhat Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to show all the radio buttons in a single line right ?
 
Amitkumar Fulambarkar
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. It is resolved with the following code. I used layout attribute



 
H Jetly
Ranch Hand
Posts: 41
Google Web Toolkit Redhat Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic