You can customize the presentation of data on your mobile device by using the Mobile Application Template Customization window in Mobile Web Studio. See the Unwired Accelerator Administration Guide for additional information.
Creating online device templates
You can create new online device templates or modify existing templates. You can create multiple version, such as several versions of Nokia Online device templates.
Select Build | Templates from the Mobile Web Studio left pane.
Click New on the Template Manager toolbar to launch the Template Upload window.
Click the down arrow next to Wizard to display the list of online templates.
Dashboard
BlackBerry Online
Nokia Online
Palm Online
PPC Online
Smartphone Online
WAP-HTML
WAP-WML
PDA Online
From Template editor, select Wizard. The <device> Online Application Template Customization window launches.
On the Mobile Application Template Customization window, modify these tabs (the options may vary slightly, depending on the device):
<device> device tab Use the Device tab to name the device template, such as newNokiaOnline
,
and assign user roles.
Appearance tab Use this tab to customize the properties of the presentation for your mobile device.e:
Default Properties
Font – select from the drop-down list.
Font size – enter the desired font size in pixels.
Header Properties – apply only to the header row
Background color – select the color box to the right to see a selection of colors.
Text color – select the color box to the right to see a selection of colors.
Row Properties – applies to all rows of data (not the header row)
Text color – select the color box to the right to see a selection of colors.
Alternate row color – indicate whether the alternate rows should appear in another color.
Alternate row color properties – applies to all other rows of data (not the header row), if alternate row color is enabled.
Even row background color – select the color box to the right to choose the even row background color.
Odd row background color – select the color box to the right to choose the odd row background color.
Row color properties – select the color box to the right to choose the row color background if you did not choose alternating colors.
Paging Properties
Number of rows in a page – enter number of rows
CGI Parameter Properties
Parameter Input Field Size – enter number of characters
Button Text – enter button text, such as OK
Advanced
Add Filter Rules
Filter tab This tab appears only if you selected Add Filter Rules in the Appearance tab. Select Enable Filter For List Data.
Filter Value in Between String
Filter Value in End of String
Preview tab Use this tab to preview the data presentation. The preview is not an exact representation of what you will see on your mobile device.
Click Finish to save your template.
Applying a device template to an application
In Application Builder, select the Device Type from the drop-down list—Portal, BlackBerry Online, Nokia Online, Palm Online, PPC Online, SmartPhone Online, WAP-HTML, WAP-WML, or PDA Online.
Click Template.
In the Find Template window, click Search. A list of available templates displays in the Results pane.
In the Results pane, select the desired template, such
as newNokiaOnline
, and click
Select.
In Application Builder, either preview the application template, or click Save and OK to confirm. The template is applied to the application, and dictates how the data is presented on the device type.
Repeat the process to associate other device templates with the selected application.
Click Close to exit Application Builder.
Previewing application with applied device template
In Application Builder, after selecting the template, and click Preview. The application displays in a pop-up window. Any links and drill-down capability are enabled.
Close the window when finished.