Monetize with AdMob
Home / Java


Luca Passani

WURFL Java API
Java API
-  Javadocs
Download & Installation
(includes WALL)

Examples
How to Submit bug reports

License

WALL
the Wireless Abstraction Library

WALL
Tutorial (PDF)
Reference (PDF)
NEW: Cool Menus

Demos:
-  Body
-  Menu
-  Coolmenu
-  Simple Forms
-  Forms in WML Compatibility Mode
JSTL integration
-  Portal

Useful Trick

Credits

Source Code
CVS at SourceForge

Other Java/WURFL efforts
Murray Brandon:
Modified WALL

Nicholas Albion:
More Modified WALL


Bill Ray:
MyWURFL


SourceForge.net Logo
 

WALL Form (no WML)
by Luca Passani
passani at eunet dot no

CHTML and XHTML have a lot of the mark-up for forms in common. If you only use WALL to support something-HTML browsers, you can get away with the <wall:form> tag exclusively. Here is the JSP:

<%@ taglib uri="/WEB-INF/tld/wall.tld" prefix="wall" %>
<wall:document><wall:xmlpidtd />

<wall:head>
 <wall:title>Form 1</wall:title>
</wall:head>

<wall:body>
 <wall:form action="url" method="post">
   <!-- Greatly simplified under the assumption that -->
   <!-- WML is not supported -->
    Economy or Business:<br/>
    <input type="radio" name="course" value="economy" checked="checked"/>E
    <input type="radio" name="course" value="business"/>B<wall:br />

    Add comment: <wall:br />
    <textarea name="comment" rows="2" cols="10"></textarea>
    <wall:br />
    <input type="hidden" name="user_id" value="bhgfd65488769" />
    <input type="submit" value="Next"/>
 </wall:form>
</wall:body>
</wall:document>

If you want to see this example live, point your browser or your favorite device to
http://212.174.70.231:8080/wurfl/wall/body.jsp (Hosting is courtesy of Tom Thurston, Turn On Technology http://www.turnontechnology.com)

Look at it live here!
Emulation provided courtesy of Yospace
http://www.yospace.com/spede

Choose Device:
Nokia 7110, WML
Motorola V500, XHTML MP
Sharp GX10, XHTML MP
Samsung z105, XHTML MP

Copyright © 2008, Luca Passani