In EP 6.1, you can associate multiple templates with a portlet.
Each template is associated with a particular viewer, such as a Web browser or a mobile device. The following basic templates are provided:
Portal – template used for normal browsers, such as Internet Explorer. The default template is OP 1-1 Basic.
To preview portal templates, you click Template in the Portal Builder, click Search in the Find Template window, select the template in the Results pane, then click Preview.
PDA – template used for mobile devices. The default is PDA Grid Basic.
To preview a PDA template in Portal builder, select PDA for Device Type, then click Preview to the right of the Device Type field.
WAP – template used for Palm Pilot wireless application devices. The default is WAP Basic.
To preview a WAP template in Portal builder, select WAP for Device Type, then click Preview to the right of the Device Type field.
The templates can be changed on a portlet-by-portlet basis.
The default templates are defined in /onepage/config/oem.xml,
within the
<ViewerList></ViewerList>
section.
Selecting a different template
When creating a portlet in Portlet Builder, select the Device Type—Portal, PDA, or WAP.
Click Template. The Template finder window displays.
Using the template finder, select the required template.
Click OK to select the template.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |