How to use HTML 'pre' tag in ADF pages
932690Apr 23 2012 — edited Apr 25 2012Hi,
I am using adf 11.1.1.6.0 and trying to print some formatted text from log files. It can contain either xml / log file with new lines / tabs.
When I use hte UIX / Regular jsp, I am able to use the <pre> tag and retain the output format form end user.
When I am migrated the same application to ADF, I am not able to get the desired output format.
Here are my trials:
<af:outputYext> with escape="true" : Entire output is displayed in a single paragraph. All new line/formatting has gone.
<af:outputYext> with escape="false" : Page itself is not painting as the logout put has some special characters.
<af:richTextEditor> readonly = true : Taking out all xml tags with in the output log
I tried with f:verbatim as shown
<f:verbatim><pre> </f:verbatim>
#{dojStep.displayStepOutput}
<f:verbatim></pre></f:verbatim>
In this case, I get the following error: "End tag does not match start tag 'pre'."
Can you please suggest the alternative to use the html pre tag in ADF world to print the el expression data as it is.
Thanks,
-Jaya.