Using RawText
To insert a rawText component:
-
In the Design Structure Window of the desired file, locate the node in
which you wish to insert a rawText component.
-
In the Component Palette, select Miscellaneous
Components from the dropdown list, and then drag and drop the
rawText component to the parent node of your choice.
The rawText node is inserted and
highlighted under the expanded parent node.
-
In the Property Inspector, set the following attributes for the
rawText component:
-
text - Enter the text.
-
betweenText - Enter the text to be rendered between the
children of this component.
-
inlineStyle - Enter the inline CSS style for this
component. In the right column, click the
icon to open a dialog, then click New to enter the
CSS property values. The property element defines a single
name/value pair. The name is defined by the Name attribute, and
the Value by the plain-text contents of the element. For example,
you can enter 'color' for Name, and 'red' for Value. In the
Advanced tab, you can enter an EL syntax data binding expression or use
the Bind to Data dialog to select a data source for this complex
attribute.
-
postText - Enter the text to be rendered after any children
of this component.
-
preText - Enter the text to be rendered before any children
of this component.
Note: To use data binding, see
Data Binding a Component Attribute.
Example in UIX XML
...
<rawText text=" _text_ "
preText="_preText_ "
postText=" _postText_"
betweenText=" _betweenText_ ">
<contents>
<header>
<link text="header info"
destination="http://www.oracle.com"/>
</header>
</contents>
</rawText>
...
<rawText>
<contents>
<hr>
</contents>
</rawText>
...
<rawText>
<hr>
</rawText>
...
<rawText>
<![CDATA[
Here's some HTML: <a href="http://www.oracle.com">Oracle</a>
and it can go <b>on and on and on</b>...
]]>
</rawText>
...
Related topics
About RawText
Inserting FormattedText
Working with Simple and Miscellaneous Components
Copyright © 1997, 2004, Oracle.
All rights reserved.