Generating and Editing WAP WML Templates

This section describes how to generate a new WAP-WML template, or edit an existing one:

Appearance

Property typeDescription
Default
  • Font – enter the name of the font for the header and fields, or select a font for the header and fields from the drop-down list.

  • Font Size – the size of the header and fields, which must be an integer between 1 and 16.

  • Font Color – the color of the font. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

  • Color – select the color of the mobile application. Choose from the existing palette, or click Define Custom Colors to define a new color.

Header

  • Background Color – the color of the header background. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

  • Text Color – the color of the header text. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

Row

  • Row Text Color – the color of the row text for the mobile application. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

  • Alternate Row Color – allows you to alternate row text by color:

    • Even Row Background Color – select a color for the even rows. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

    • Odd Row Background Color – select a color for the odd rows. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

  • Row Background Color – available if Alternate Row Color is not selected. Allows you to select the background color of the field data. Click the color bar to display the color palette. Choose from the existing palette, or click Define Custom Colors to define a new color.

Paging

Property typeDescription
Paging
  • Enable Paging – display page numbers on the template grid and enable the other paging properties.

  • Number of Rows in a Page – defines the number of rows per page.

Using the Template Editor

Assigning Templates to Mobile Applications

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com