Using RawText

To insert a rawText component:

  1. In the Design Structure Window of the desired file, locate the node in which you wish to insert a rawText component.
  2. 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.

  3. In the Property Inspector, set the following attributes for the rawText 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>
    &lt;header&gt;
    <link text="header info"
          destination="http://www.oracle.com"/>
    &lt;/header&gt;
  </contents>
</rawText>
...
<rawText>
  <contents>
    &lt;hr&gt;
  </contents>
</rawText>
...
<rawText>
  &lt;hr&gt;
</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>
...    

About RawText

Inserting FormattedText
Working with Simple and Miscellaneous Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.