Formatted Text in OA Framework

You may have guessed from the name itself that a formattedText item style will accept a string. In OAF the FormattedText accepts the string in one of its attribute named as “Text” and contains a very limited set of HTML markup and outputs formatted results.

Oracle Apps Framework developers, who need more of HTML functionality must use the rawText bean. E.g. formattedText bean won’t support the use of HTML tables or HTML links; hence OAF developers have to use either tableLayout and link beans or use just the rawText bean.

formattedText bean provides a limited ability to use a single source for translated or user-provided FormattedText without parsing or filtering. It supports more attributes than the rawText bean; e.g. it supports styleClass.

HTML markups supported by FormattedText are:

br
hr
li
ol
ul
p
b
i
tt
big
small
pre
span
a

Also the FormattedText supports the following entities:

< >
&
?
?

In the CSS attributes “class”, “style” and “href” are the only attributes that are supported; all the other CSS attributes others are ignored.
Corresponding web bean: OAFormattedTextBean
Import Path: import oracle.apps.fnd.framework.webui.beans.OAFormattedTextBean;

Tagged , , , , , . Bookmark the permalink.