You can generate templates for the various types of devices (PDA, Blackberry, WAP-HTML, and WAP-WML), as well as for the Dashboard. Once generated, you can complete the options that define the template, or accept the default settings. You can edit a template at any time.
When you deploy mobile applications to a mobile device such as PDAs, or BlackBerry devices, the device displays the embedded data in grid form. When you edit the template, you can alter the appearance of these grids. The Template Editor includes options for presenting data on the device, including various color schemes, number of rows to display on each page, and so on.
Generating a new template
Select File | New | Template. The Template wizard displays.
Complete these fields:
Connection Profile - select the Unwired Accelerator server connection on which the template is generated and stored.
Template Name – enter a name for the new template. For example, you might want to name a template "2-4 Basic" if you plan to assign this template to a mobile application that contains two columns and four elements.
Status – select the template's status. You can only assign templates that have the status "Approved" to mobile applications.
Type – select from HTML, HELP, JSP, or XSL. See Template Types for more information.
Click Finish to exit the window. The Template Editor displays. You have created a blank template
Select the device type to associate with this template by clicking one of the generate template icons in the toolbar.
Move your cursor over each of the icons for a description of the template it generates. Selecting a device type generates a
default template for that device type. Once saved, you cannot change the device type. If you edit the template, you can modify
various properties and fields, but not the device type.
At this point, the procedures for generating the template and editing the template are the same. See the topic that corresponds to the type of template you are generating or editing:
Dashboard template - see Generating and Editing Dashboard Templates.
PDA template - see Generating and Editing PDA Templates.
WAP HTML template - see Generating and Editing WAP HTML Templates.
WAP Blackberry 3.7 template - see Generating and Editing WAP BlackBerry 37 Templates.
WAP Blackberry 4.0 template - see Generating and Editing WAP BlackBerry 40 Templates.
WAP WML template - see Generating and Editing WAP WML Templates.
Complete the options for the new or edited template, and click OK.
Select File | Save As and name your new template, or File | Save to save an existing template.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com