Hey,
I have a method that gives back a formatted XML string. I want to show that on a JSF page in a nicely wrapped, readable way. I used this solution first.
<pre><h:outputText value="myBean.xml"/></pre>
The result is indented, but it doesn't wrap very long lines (with a lot of attributes for e.g.)
RichFaces is also available in my project. What would you suggest?
Thanks in advance, Daniel