Inserting a HideShowHeader Component

To insert a hideShowHeader component:

  1. In the Design Structure Window of the desired file, locate the pageLayout node.

    If the pageLayout node is not visible, expand page | content | dataScope | document | body | form.

  2. In the Component Palette, select Layout Components from the dropdown list, and then drag and drop the hideShowHeader component to the pageLayout node.

    The hideShowHeader node is inserted and highlighted in the Design Structure Window. The Property Inspector displays the properties of the hideShowHeader component.

  3. In the Property Inspector, set the following attributes for the hideShowHeader component you inserted:

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

  4. To add contents into the hideShowHeader, drag and drop a component from the Component Palette to the hideShowHeader node. Repeat to add the desired number of components. Components are placed consecutively in the order in which they are added.

Example (UIX XML)


...
<page ...>
   ...
   <pageLayout>
   ...
     <hideShowHeader text="Hide this section" disclosed="true" id="hs1">
       <contents>
         <header text="Subheader">
           <contents>
             <header text="Subsubheader">
               <contents>
                 Put indexed children here
               </contents>
             </header>
           </contents>
         </header>
       </contents>
     </hideShowHeader>
   ...
   <!-- REST OF PAGE LAYOUT -->
   <pageLayout>
 ...
 <handlers>
   <event name="hide">
     ...
   </event>
   <event name="show">
     ...
   </event>
 </handlers>
</page>    

About HideShow
About HideShowHeader
About Header

Inserting a Header
Inserting a HideShow Component
Working with Layout Components

 

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