You can generate mobile templates for a number of mobile devices. Once generated, you can complete the options that define the mobile template, or accept the default settings. Later, you can edit a mobile template at any time.
When you deploy mobile applications to a mobile device, such as a PDA, the device displays the embedded data in grid form. When you edit the mobile template, you can alter the appearance of these grids. The mobile 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 mobile template
Select File|New|Mobile Template.
The New Mobile 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.
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 Mobile Template Editor opens.
Define the template type:
Click inside the template editor to enable the following icons in the tool bar:
Click a template icon in the tool bar to associate the template with a mobile device or dashboard and generates a default template for that type. Choose from the following:
Dashboard
Universal
PDA Online
WAP HTML
BlackBerry Online
WAP WML
Nokia
Palm
Pocket PC
Smartphone
BlackBerry Device
The Mobile Template dialog opens.
After saving the template, you can add or edit template properties, but you cannot change the device type.
Define template properties:
For a BlackBerry device, see Generating and Editing BlackBerry Device Templates.
For a Portal Dashboard, see Generating and Editing Dashboard Templates
For all others, use the following table:
Appearance
Property type | Description |
---|---|
Default |
|
Header |
|
Row |
|
Paging | Number of rows in a page - Enter the number of rows you want to display on a page. |
CGI Parameter |
|
Click OK to save your changes and exit the dialog.
Save your work. Select File|Save As and name your new mobile template, or File|Save to save an existing mobile template.
Generating and Editing BlackBerry Device Templates
Generating and Editing Dashboard Templates
Using the Mobile Template Editor
Working with the Template Editor
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com