+

Search Tips   |   Advanced Search

Presentation templates

We use a presentation template define the layout of the web content. Use tags to determine which properties, elements, or components are displayed.


Defining presentation for Web Content Viewer portlets

When displaying content using WebSphere Portal, the presentation template only defines the layout of content displayed in a Web Content Viewer portlet. The overall page layout is determine by the which page layout is selected, which portlets are added to the page, and the selected theme.


Defining presentation for servlet rendered content

When displaying content in a servlet delivered site, the presentation template represents the entire page. As well as defining the layout of the page, and which properties, elements, or components to display, we also use the presentation template to define the default properties of a web page such as the background and default font of a web page.

There is little difference between building a presentation template and using HTML to build a servlet delivered web page. It may even be helpful to build a "mock-up" of the page we are designing in HTML before creating a new presentation template. Simply replace the different sections of the web page with references to elements and components using web content tags.

  • Page layout
    We use HTML to define the layout of a presentation template in the same way we use HTML to define the layout of a web page.

  • Page style
    We use HTML to define the default properties of a presentation template in the same way we use HTML to define the default properties of a web page.


Parent Create reusable assets