You can edit a Wireless Markup Language (WML) file by using the
WML menu
or the
Properties view. You can set properties for WML files through
the Page Properties dialog box.
WML menu
The WML menu allows you to insert actions,
events, and elements to a WML file. Select
WML from the main menu bar.
Your options are as follows:
- Insert Card Each WML file has multiple cards. You
can add a new card in a file, and the on event tag and timer tag can be added
in the new card as well.
- Insert Do The do tag is for user action handling.
You can specify a user action type and a task associated with the action.
The action type is the function which is activated when a user presses a physical
button on the device. The specified task is performed when a user presses
the physical button. The Name is used to identify each do tag in a
card. The Label is the display name on the device screen.
- Insert Anchor The anchor tag is for a link. You
can specify a task associated with a link. The Title is not the link
text, but the display name shown when the link text has focus. Link text can
be directly edited on the Design page.
- Insert Onevent The onevent tag is for event handling.
You can specify an event and a task that is associated with the event. There
are three types of events available:
- Forward navigation event occurs when a user enters the card from
another card by pressing the physical forward button on the device.
- Backward navigation event occurs when a user enters the card from
another card by pressing the physical back button on the device.
- Timer event occurs when the timer expires. The timeout value is
specified using the card's attributes view.
When an event occurs, the specified task is performed. A URL is required
if the task is Go to specified URL.
Properties view
The Properties view allows you
to change attributes for individual cards in a WML file. Select the card you
wish to edit in Page Designer. You can then specify attributes for different
tags in a card.
Page Properties dialog box
The WML
tags tab on the Page Properties dialog box (from the Design page, select )
allows you to specify settings that are common to all cards in a WML file.
For instance, you can set an Event binding to an onevent tag to specify that
all cards in a WML file will have a back button. You can also use the properties
dialog box to specify permissions in the Access Control fields, Domain and Path.
Note: There
is no Preview Page available in Page Designer for WML files.