cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hepab...@apache.org
Subject svn commit: r279306 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms: carselector_success_jx.xml carselector_template.xml form1_success_jx.xml form1_template.xml form1_template_action.xml
Date Wed, 07 Sep 2005 12:22:27 GMT
Author: hepabolu
Date: Wed Sep  7 05:22:16 2005
New Revision: 279306

URL: http://svn.apache.org/viewcvs?rev=279306&view=rev
Log:
Fixed "back to samples" to point to Forms samples, rather than full samples block; 
Added extra header with short description of sample purpose

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_success_jx.xml
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_template.xml
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_success_jx.xml
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template.xml
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_success_jx.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_success_jx.xml?rev=279306&r1=279305&r2=279306&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_success_jx.xml
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_success_jx.xml
Wed Sep  7 05:22:16 2005
@@ -20,13 +20,14 @@
 -->
 
 <page>
+  <h4 class="samplesGroup">AJAX sample</h4>
   <title>Car selector result</title>
   <content>
     You selected: maker ${request.getAttribute("carselectorform").lookupWidget("make").getValue()},
     type ${request.getAttribute("carselectorform").lookupWidget("type").getValue()},
     model ${request.getAttribute("carselectorform").lookupWidget("model").getValue()}
     <p>
-      <a href="../">Back to samples</a>
+      <a href="./">Back to Forms samples</a>
     </p>
   </content>
 </page>

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_template.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_template.xml?rev=279306&r1=279305&r2=279306&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_template.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/carselector_template.xml Wed
Sep  7 05:22:16 2005
@@ -17,6 +17,7 @@
 <page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"
 xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
    <!-- Import the macros that define CForms template elements -->
    <jx:import uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/>
+  <h4 class="samplesGroup">AJAX sample</h4>
   <title>Car selector</title>
   <para>This example illustrates:
      <ul>
@@ -78,7 +79,7 @@
       </fi:group>
     </ft:form-template>
     <p>
-      <a href="../">Back to samples</a>
+      <a href="./">Back to Forms samples</a>
     </p>
   </content>
 </page>

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_success_jx.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_success_jx.xml?rev=279306&r1=279305&r2=279306&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_success_jx.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_success_jx.xml Wed Sep
 7 05:22:16 2005
@@ -20,6 +20,7 @@
 -->
 
 <page>
+  <h4 class="samplesGroup">Widget sampler</h4>
   <title>Sample form result</title>
   <content>
   <!--
@@ -40,7 +41,7 @@
     The value of the checkbox is:
     ${request.getAttribute("form1").lookupWidget("somebool").getValue()}
     <p>
-      <a href="../">Back to samples</a>
+      <a href="./">Back to Forms samples</a>
     </p>
   </content>
 </page>

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template.xml?rev=279306&r1=279305&r2=279306&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template.xml Wed Sep
 7 05:22:16 2005
@@ -23,7 +23,7 @@
       
   <!-- Import the macros that define CForms template elements -->
   <jx:import uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/>
-  
+  <h4 class="samplesGroup">Widget sampler (Flowscript)</h4>
   <title>Sample form</title>
   <content>
     <ft:form-template action="#{$cocoon/continuation/id}.continue" method="POST">
@@ -139,7 +139,7 @@
       </div>
     </ft:form-template>
     <p>
-      <a href="../">Back to samples</a>
+      <a href="./">Back to Forms samples</a>
     </p>
   </content>
 </page>

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml?rev=279306&r1=279305&r2=279306&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
Wed Sep  7 05:22:16 2005
@@ -19,7 +19,7 @@
 <page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
       xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"
       xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-      
+  <h4 class="samplesGroup">Widget sampler (Actions)</h4>
   <title>Sample form</title>
   <content>
     <ft:form-template action="form1" method="POST">
@@ -131,7 +131,7 @@
       </div>
     </ft:form-template>
     <p>
-      <a href="../">Back to samples</a>
+      <a href="./">Back to samples</a>
     </p>
   </content>
 </page>



Mime
View raw message