cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jer...@apache.org
Subject svn commit: r694395 - in /cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql: pages/employee-edit.xml sitemap.xmap
Date Thu, 11 Sep 2008 18:24:51 GMT
Author: jeremy
Date: Thu Sep 11 11:24:50 2008
New Revision: 694395

URL: http://svn.apache.org/viewvc?rev=694395&view=rev
Log:
adding new-style xslt params for lib access (not strictly needed in 2.1.X, required in 2.2),
adding browser-optimisation.

Modified:
    cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/pages/employee-edit.xml
    cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/sitemap.xmap

Modified: cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/pages/employee-edit.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/pages/employee-edit.xml?rev=694395&r1=694394&r2=694395&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/pages/employee-edit.xml
(original)
+++ cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/pages/employee-edit.xml
Thu Sep 11 11:24:50 2008
@@ -36,7 +36,7 @@
     </p>
     <p>
       Description:<br/>
-      <ft:widget id="description" fi:type="textarea" fi:rows="10" fi:style="width: 100%"/>
+      <ft:widget id="description" fi:type="textarea" fi:rows="10" fi:style="width: 100%;"/>
     </p>
     <p>
       <ft:widget id="ok"/> <ft:widget id="cancel"/>

Modified: cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/sitemap.xmap?rev=694395&r1=694394&r2=694395&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X-dojo1_1/src/blocks/forms/samples/sql/sitemap.xmap Thu Sep
11 11:24:50 2008
@@ -87,13 +87,19 @@
       <map:generate type="jx" src="pages/{1}.xml"/>
       <map:transform type="browser-update"/>
       <map:transform type="i18n"/>
-      <map:transform src="../resources/forms-samples-styling.xsl"/>
+      <map:transform src="../resources/forms-samples-styling.xsl">
+        <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:transform>
       <map:select type="ajax-request">
         <map:when test="true">
           <map:serialize type="xml"/>
         </map:when>
         <map:otherwise>
           <map:transform src="resources/page-styling.xsl"/>
+          <map:transform src="resource://org/apache/cocoon/forms/resources/browser-optimisation.xsl"/>
           <map:serialize type="html"/>
         </map:otherwise>
       </map:select>



Mime
View raw message