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

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.
 
sunglasses are a type of coolness prosthetic. Check out the sunglasses on 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