In Unwired Accelerator, you can associate multiple templates with a single application.
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 standard browsers, such as Internet Explorer. The default template is OP 1-1 Basic.
To preview application templates, click Template in Application 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 Application Builder, select PDA for Device Type, click on the “v” button next to the Template, select Mobile, then click Preview.
BlackBerry – template used for BlackBerry devices. The default is BlackBerry.
To preview a BlackBerry template in Application Builder, select BlackBerry for Device Type, click on the “v” button next to the Template, select Mobile, then click Preview.
WAP-HTML – template used for WAP phone clients that support HTML.
To preview a WAP-HTML template in Application Builder, click on the “v” button next to the Template, select Mobile, then click Preview.
WAP-WML – template used for WAP phone clients that support WML 2.0.
To preview a WAP-WML template in Application Builder, click Preview.
You can change templates on an application-by-application basis.
The default templates are defined in %SYBASE%\UnwiredAccelerator70\tomcat\webapps\onepage\config
\oem.xml, within the
<ViewerList></ViewerList>
section.
Applications that contain only one element use a system-assigned template specified in the global.properties.xml master configuration file. See “Changing the default template” for more information.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |