Currently i am working on RichFaces and want to wrap the text in the table column, here are my scenarios
1) I am using the <rich:dataTable and <rich:column > to display the data.
2) if the data is more then it is not wrapping the text in new line, but i dont want to use the width fo the <rich:column> as the screen can warry.
3) And i dont want to display the Horizontal scroll bar to display
Please help me in resolving the issue
if i enter the text with spaces then its works fine, but if i give continues text but its not working. That is if give text as "aaaaaaaaaaa aaaaaaaaaaaaa dddddddddddddd dddddddddddddddddddddd eeeeeeeeeeeeeeeeee fffffffffffffffffffffffffff" it is properly wrapped. But if we give text as "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" then its wrapping.
just HTML question not related to RichFaces directly.
You could use div's inside the columns with overflow:hidden and sizes defined to cut long text.