taylor      01/09/12 23:22:15

  Modified:    webapp/WEB-INF/psml/anon/wml default.psml
               webapp/WEB-INF/psml/anon/wml/en default.psml
               webapp/WEB-INF/templates/vm/layouts/wml default.vm
               webapp/WEB-INF/templates/vm/navigations/wml top.vm
  Added:       webapp/WEB-INF/templates/vm/controllers/wml column.vm
               webapp/WEB-INF/templates/vm/screens/wml Home.vm
  Log:
  -- Basic WML support seems to be working again. Added two basic examples (Stocks, 
Weather). Ive tested with:
        - OpenWave SDK 5.0
        - Nokia WAP Toolkit 2.1
  
     I will make some more mods to the PSML for browsing RSS resources via WML 
browsers soon.
     Give me a few minutes and I should have this installed on 
http://www.bluesunrise.com/jetspeed
     This only works for the anonymous user. (I think in 1.3a1, we had 'logon' 
support.)
  
  Revision  Changes    Path
  1.2       +7 -31     jakarta-jetspeed/webapp/WEB-INF/psml/anon/wml/default.psml
  
  Index: default.psml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/psml/anon/wml/default.psml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- default.psml      2001/05/08 19:53:52     1.1
  +++ default.psml      2001/09/13 06:22:15     1.2
  @@ -1,32 +1,8 @@
  -<?xml version="1.0" encoding="iso-8859-1"?>
  -<portlets user="default" xmlns="http://xml.apache.org/jetspeed/2000/psml";>
  +<?xml version="1.0"?>
  +<!DOCTYPE wml PUBLIC "-//WAPFORUM/DTD WML 1.1//EN" 
"http://www.wapforum.org/DTD/wml_1.1.xml";>
   
  -  <controller name="org.apache.jetspeed.portal.controllers.WMLCardController"/>
  -
  -  <portlets>
  -      <controller 
name="org.apache.jetspeed.portal.controllers.RowColumnPortletController"/>
  -
  -      <entry type="ref" parent="Mozilla">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -        <parameter name="itemDisplayed" value="5"/> 
  -      </entry>
  -
  -      <entry type="ref" parent="Apacheweek">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -        <parameter name="showDescription" value="true"/> 
  -      </entry>
  -
  -      <entry type="ref" parent="XMLHack">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -      </entry>
  -
  -      <entry type="ref" parent="MyWeather">
  -         <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -      </entry>
  -
  -      <entry type="ref" parent="Stocks">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -      </entry>
  -  </portlets>
  -
  -</portlets>
  \ No newline at end of file
  +<wml>
  +  <card title="David's First WML Example">
  +    <p> Gello Fucked Up World</p>
  +  </card>
  +</wml>
  \ No newline at end of file
  
  
  
  1.2       +11 -22    jakarta-jetspeed/webapp/WEB-INF/psml/anon/wml/en/default.psml
  
  Index: default.psml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/psml/anon/wml/en/default.psml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- default.psml      2001/04/25 00:21:21     1.1
  +++ default.psml      2001/09/13 06:22:15     1.2
  @@ -1,32 +1,21 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
  -<portlets user="default" xmlns="http://xml.apache.org/jetspeed/2000/psml";>
  +<portlets xmlns="http://xml.apache.org/jetspeed/2000/psml";>
   
  -  <controller name="org.apache.jetspeed.portal.controllers.WMLCardController"/>
  +<controller 
name="org.apache.jetspeed.portal.controllers.RowColumnPortletController"/>
  +<control name="ClearPortletControl"/>
   
  -  <portlets>
  -      <controller 
name="org.apache.jetspeed.portal.controllers.RowColumnPortletController"/>
  +<portlets>
  +      <controller name="ColumnController"/>
  +      <control name="ClearPortletControl"/>
   
  -      <entry type="ref" parent="Mozilla">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -        <parameter name="itemDisplayed" value="5"/> 
  +      <entry parent="MyWeather">
  +        <control name="ClearPortletControl"/>
         </entry>
   
  -      <entry type="ref" parent="Apacheweek">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -        <parameter name="showDescription" value="true"/> 
  +      <entry parent="Stocks">
  +        <control name="ClearPortletControl"/>
         </entry>
   
  -      <entry type="ref" parent="XMLHack">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -      </entry>
  -
  -      <entry type="ref" parent="MyWeather">
  -         <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -      </entry>
  -
  -      <entry type="ref" parent="Stocks">
  -        <control name="org.apache.jetspeed.portal.controls.TitleControl"/>
  -      </entry>
  -  </portlets>
  +</portlets>
   
   </portlets>
  
  
  
  1.1                  
jakarta-jetspeed/webapp/WEB-INF/templates/vm/controllers/wml/column.vm
  
  Index: column.vm
  ===================================================================
  <card title="Jetspeed WML">
    <p>
    #foreach ( $portlet in $portlets )      
      <a href="#_$!portlet.Name">$!portlet.Title</a><br/>
    #end
    </p>
  </card>
    #foreach ( $portlet in $portlets )
        $!portlet.getContent($data)
    #end
  
  
  
  
  1.2       +4 -0      
jakarta-jetspeed/webapp/WEB-INF/templates/vm/layouts/wml/default.vm
  
  Index: default.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/layouts/wml/default.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- default.vm        2001/02/11 22:53:59     1.1
  +++ default.vm        2001/09/13 06:22:15     1.2
  @@ -1,3 +1,7 @@
  +<?xml version="1.0" ?>
  +<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
  +  "http://www.wapform.org/DTD/wml_1.1.xml";>
  +
   <wml>
     $navigation.setTemplate("wml/top.vm")
     $screen_placeholder
  
  
  
  1.2       +5 -1      
jakarta-jetspeed/webapp/WEB-INF/templates/vm/navigations/wml/top.vm
  
  Index: top.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/navigations/wml/top.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- top.vm    2001/02/11 22:54:03     1.1
  +++ top.vm    2001/09/13 06:22:15     1.2
  @@ -1 +1,5 @@
  -<template><do type="acccept" label="Back"><prev/></do></template>
  \ No newline at end of file
  +<template>
  +    <do type="accept" label="Back">
  +       <prev/>
  +    </do>
  +</template>
  \ No newline at end of file
  
  
  
  1.1                  jakarta-jetspeed/webapp/WEB-INF/templates/vm/screens/wml/Home.vm
  
  Index: Home.vm
  ===================================================================
  $data.setMode("default")
  $jetspeed.getPane("default")
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to