aspose file tools*
The moose likes JSF and the fly likes selectOneRadio with nowrap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "selectOneRadio with nowrap" Watch "selectOneRadio with nowrap" New topic
Author

selectOneRadio with nowrap

ranjan Khaba
Greenhorn

Joined: Jan 16, 2008
Posts: 22
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

Joined: Jan 16, 2008
Posts: 22
I have solve my problem by putting
<hutputText 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: selectOneRadio with nowrap
 
Similar Threads
Tom
selectOneRadio problem
dynamic selectOneRadio
JSF SelectOneRadio and inputText
JSF2 Populate SelectOneRadio with Enum values