XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> WML Tutorials -> Learning WML & WMLScript: Programming the Wireless Web

Learning WML & WMLScript: Programming the Wireless Web

Date: Mar. 11, 2001
Link: http://www.oreilly.com/catalog/learnwml/chapter/ch03.html
Source Author or Organization: Martin Frost, O'Reilly & Associates

This article is a chapter excerpted from the book Learning WML & WMLScript by Martin Frost, from O'Reilly & Associates. The chapter discusses two closely associated components of Wireless Markup Language (WML) that have no equivalent in HTML's tasks and events.

A "task" specifies the action to be performed by the client (for example, a browser) when an event occurs, such as selection of a link or entering a card. The author explains the "go" task and its attributes, the "refresh" task, the "prev" task, and the "noop" task, including sample usage and code. Using variables with tasks is also discussed.

The article explains how to trigger certain cards events including "onpick", "onenterforward" and "onenterbackward", as well as how tasks can be bound to events using the "onevent" element.