I have an OutputText to be displayed dynamically from the database. If the number of characters are more the content goes out of the page border. I am using trinidad tags in my application. Can anyone tell me a way to wrap the text and bring the remaining to next line.
Probably the best thing to do is render the text in some sort of container like a DIV and use CSS to define how the text gets placed and wrapped.
Most of the time, you'd do this as an indirect attribute of some JSF function, such as the column class definition for a dataTable tag. If there's no suitable container JSF construct for what you're doing, you could wrap a div in JSF verbatim tags.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.