Using UrlInclude to Insert HTML Content

To insert HTML content using the urlInclude component:

  1. In the Design Structure Window of the desired file, locate the node in which you wish to insert an external HTML file (e.g., header).
  2. In the Component Palette, select Include Components from the dropdown list, and then drag and drop the urlInclude component to the parent node of your choice.

    The Insert dialog opens.

  3. In the dialog, enter an absolute or relative URL for the required source property, e.g., http://www.example.com/adfuix/somehtml.html .

Note: To use data binding, see Data Binding a Component Attribute.

Example (UIX XML)


This is the file that has the urlInclude component:

...
<pageLayout title=""> 
  ...
  ...
  <contents>
    <header text="Example of included HTML Content">
      <contents>
        <urlInclude source="http"//www.example.com/adfuix/someHtml.html"/>
      </contents>
    </header>
    ...
  </contents>
</pageLayout>
...    

About UrlInclude
About Include
About ServletInclude

Using Include to Insert UIX XML Content
Using ServletInclude to Insert JSP and Servlets
Working with Include Components

 

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