A Gear Title Template manifest file enables you to specify the location of title bar templates and templates for the HTML to be rendered before and after gear output (gear pre- and post-treatment) for shared and full gear display modes.

The following example shows a complete Gear Title Template manifest (minus the header) that specifies a gear title template, gear pre-treatment template, and gear post-treatment template for both shared and full modes.

<!--FILE HEADER GOES HERE --!>

<gear-title-templates>

  <gear-title-template name="Default Gear Title Template" version="1.0"
  author="AUTHOR">
    <description>Default Gear Title Template</description>
    <servlet-context>/portal</servlet-context>
    <gear-title-template-modes>
        <gear-title-template-mode name="template">
           <display-modes>
             <display-mode name="full">
                <device-output name="html">
                /templates/titlebar/html/titlebar.jsp
                </device-output>
             </display-mode>
             <display-mode name="shared">
                <device-output name="html">
                /templates/titlebar/html/titlebar.jsp
                </device-output>
             </display-mode>
           </display-modes>
        </gear-title-template-mode>

    </gear-title-template-modes>

  </gear-title-template>

</gear-title-templates>

</portal-manifest>

For details about the tags and attributes you can use in a Gear Title Template manifest file, see Gear Title Template Manifest Elements in Appendix A: Portal Manifest Reference.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices