• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

selectOneRadio with nowrap

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a Table which is having three column. The second column is having selectOneRadio and label(on radio buttons) that are very long. I cannot get them to wrap through, when I resize the window. I have tried putting the css white-space:nowrap tag everywhere I could.
Note: 1. The Table will be taking in different ui. So, The second column is using the setRendered(boolean).
2. After increasing the width of the second column, It works fine for some UI, not for all.
3. The third column is having some text which has the white-space:nowrap.
4. When we resize the window, only the second column is collapse.
5. The first column is having only one word.

Any probable Solution,

Thanks
 
ranjan Khaba
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have solve my problem by putting
<h:outputText value="" style="150px"/>
in the second column. But this is not the generic solution because, if the label of the radio button is greater than 200px, the same problem arises.
Suggestion are always welcome for a generic solution.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic