• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

selectOneRadio in several columns...

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I wonder if anyone know how to get this layout(one column for the radio and a corresponding component in the same column but in the row beneath) for a selectOneRadio and any corresponing UIComponent?!

Here is what I mean:
radio1 | radio2 | radio3
text1 | text2 | text3

I early read a solution from Rajeev Ravindran where he fixed one row for each radio and a corresponing UIComponent in the other column, like this:
radio1 | text1
radio2 | text2
radio3 | text3

The solution was with panelGroup and panelGrid... but I don't fix it.

Please come back if anyone have a solution.

/Daniel.
 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know how to do this with regular JSF, but if you're using MyFaces, I believe Tomahawk's radio tag can do this. There's information on http://wiki.apache.org/myfaces/Radio
 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
not sure if this is what you are looking for ! i didnt like the alignment though.



Thanks,
Rajeev
[ April 19, 2006: Message edited by: Rajeev Ravindran ]
 
Daniel Rickardsson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply!

But yes, the alignment seem's to be the problem... isn't there any way to "force" each radio to correspond to the underlaying inputText?!

/Daniel.
 
Daniel Rickardsson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also thanks for your link to myFaces... but i'm using regular JSF technology and looking for a solution from that.
/Daniel.
 
He's giving us the slip! Quick! Grab this tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic