Web Services
  Home arrow Web Services arrow Page 3 - WML: An Introduction
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

WML: An Introduction
By: Frank Manno
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 16
    2004-02-11

    Table of Contents:
  • WML: An Introduction
  • Deal 'Em, Baby!
  • Shuffle That Deck
  • Would You Like My Special Offer
  • Welcome Aboard!
  • Wrap It Up

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    WML: An Introduction - Shuffle That Deck


    (Page 3 of 6 )

    WML cards are not just made up of text-only pages. Various elements can be used to build a nicely formatted card, which can be used to gather information, including anything from stock quotes to weather updates. There is support for various other tags, which we’ll see in our next example. WML also supports variables, which is great when wanting to interact with the user. 

    WML also has a scripting counterpart, which can be compared to Javascript for web browsers. WMLScript can be used to further enhance the interaction process with the end-user. WMLScript features numerous libraries ranging from String, Console, and Dialog functions that a developer can take advantage of in their WAP sites.  The libraries are the equivalent to APIs in Java:

    confirm
    dialogs.confirm(message, ok, cancel)
    Displays the given message and two reply alternatives: ok and cancel. Waits for the user to select one of the reply alternatives and returns true for ok and false for cancel.

    Parameters
    message = String
    ok = String (text, empty string results in the default implementation-dependent text)
    cancel = String (text, empty string results in the default implementation-dependent text)

    Return Value
    Boolean or invalid

    Examples
    function onAbort() {
    return Dialogs.confirm("Are you sure?","Well...","Yes");
    };

    More Web Services Articles
    More By Frank Manno


     

    WEB SERVICES ARTICLES

    - Safety, Idempotence, and the Resource-Orient...
    - The Resource-Oriented Architecture in Action
    - Features of the Resource-Oriented Architectu...
    - The Resource-Oriented Architecture
    - Getting Started with Flex
    - Automated Billing and Faxing for the Web
    - An Introduction to Web Services
    - The Foundations of Web Services: From Novice...
    - Web Services Reengineering: Finishing Touches
    - Fault Handling with Web Services
    - Flow and Web Services
    - Process Lifecycles and Web Services
    - Business Processes and Web Services
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek