In support of the WAP device changes being proposed in OpenSocial (http://wiki.opensocial.org/index.php?title=Add_support_for_WAP_based_mobile_devices), the attached patch to branch 2.0.x adds the following:
1. The new project "wap-extension". This project has the classes for the servlet class to receive the rendering request and for the rendering gadget.
2. The new type "wap" for the view rendered on the WAP device. This definition is added into the View.java file.
3. The WapRenderer class to handle the rendering request for the view which has the "wap" type.