cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jer...@apache.org
Subject svn commit: r694397 - in /cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam: content/teamDef.xml content/teamTemplate.jx sitemap.xmap
Date Thu, 11 Sep 2008 18:30:09 GMT
Author: jeremy
Date: Thu Sep 11 11:30:08 2008
New Revision: 694397

URL: http://svn.apache.org/viewvc?rev=694397&view=rev
Log:
new sitemap params, generally moving away from inline graphics to css graphics, but in this
case experimenting with Unicode Symbols.

Modified:
    cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamDef.xml
    cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamTemplate.jx
    cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/sitemap.xmap

Modified: cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamDef.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamDef.xml?rev=694397&r1=694396&r2=694397&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamDef.xml
(original)
+++ cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamDef.xml
Thu Sep 11 11:30:08 2008
@@ -62,16 +62,16 @@
                 </fd:booleanfield>
 
             <fd:row-action id="add" action-command="add-after">
-              <fd:label>+</fd:label>
+              <fd:label>⎋</fd:label>
             </fd:row-action>
             <fd:row-action id="up" action-command="move-up">
-              <fd:label>^</fd:label>
+              <fd:label>▲</fd:label>
             </fd:row-action>
             <fd:row-action id="down" action-command="move-down">
-              <fd:label>v</fd:label>
+              <fd:label>▼</fd:label>
             </fd:row-action>
             <fd:row-action id="delete" action-command="delete">
-              <fd:label>X</fd:label>
+              <fd:label>⌽</fd:label>
             </fd:row-action>
         </fd:widgets>
            <fd:validation>

Modified: cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamTemplate.jx
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamTemplate.jx?rev=694397&r1=694396&r2=694397&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamTemplate.jx
(original)
+++ cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/content/teamTemplate.jx
Thu Sep 11 11:30:08 2008
@@ -24,6 +24,7 @@
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
       <link href="local-resources/dreamteam.css" type="text/css" rel="stylesheet"/>
       <title>The Dream Team</title>
+      <style type="text/css">.forms.action {font-size: 60%;}</style>
     </head>
     <body>
       <h1>The Dream Team</h1>
@@ -34,27 +35,19 @@
             <td><i>Legend</i></td>
           </tr>
           <tr>
-            <td>
-              <img src="resources/forms/img/move_up.gif"/>
-            </td>
+            <td>&#9650;</td>
             <td>Move this row 1 up</td>
           </tr>
           <tr>
-            <td>
-              <img src="resources/forms/img/move_down.gif"/>
-            </td>
+            <td>&#9660;</td>
             <td>Move this row 1 down</td>
           </tr>
           <tr>
-            <td>
-              <img src="resources/forms/img/delete.gif"/>
-            </td>
+            <td>&#9021;</td>
             <td>Delete this row</td>
           </tr>
           <tr>
-            <td>
-              <img src="resources/forms/img/new.gif"/>
-            </td>
+            <td>&#9099;</td>
             <td>Add a new row below this row</td>
           </tr>
         </table>

Modified: cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/sitemap.xmap?rev=694397&r1=694396&r2=694397&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/dreamteam/sitemap.xmap Thu
Sep 11 11:30:08 2008
@@ -92,7 +92,11 @@
         <map:generate type="jx" src="content/teamTemplate.jx"/>
         <map:transform type="browser-update"/>
         <map:transform src="../resources/forms-samples-styling.xsl">
-          <map:parameter name="resources-uri" value="{request:contextPath}/_cocoon/resources"/>
+          <map:parameter name="dojo-resources"  value="{request:contextPath}/_cocoon/resources/dojotoolkit"/>
+          <map:parameter name="forms-resources" value="{request:contextPath}/_cocoon/resources/forms"/>
+          <map:parameter name="forms-system" value="{request:contextPath}/_cocoon/system/forms"/>
+          <map:parameter name="ajax-resources"  value="{request:contextPath}/_cocoon/resources/ajax"/><!--
NB. Using 2.2 parameterisation style, to ease differences between the two platforms -->
+          <map:parameter name="dojo-locale" value="{flow-attr:locale}"/>
         </map:transform>        
         <map:select type="ajax-request">
           <map:when test="true">



Mime
View raw message