Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use HTML 'pre' tag in ADF pages

932690Apr 23 2012 — edited Apr 25 2012
Hi,
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2012
Added on Apr 23 2012
4 comments
744 views