cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r385820 - in /cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples: flow/forms_flow_example.js welcome.xml
Date Tue, 14 Mar 2006 15:57:33 GMT
Author: sylvain
Date: Tue Mar 14 07:57:17 2006
New Revision: 385820

URL: http://svn.apache.org/viewcvs?rev=385820&view=rev
Log:
Add "inplace-area" styling for text areas

Modified:
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/flow/forms_flow_example.js
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/welcome.xml

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/flow/forms_flow_example.js
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/flow/forms_flow_example.js?rev=385820&r1=385819&r2=385820&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/flow/forms_flow_example.js
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/flow/forms_flow_example.js
Tue Mar 14 07:57:17 2006
@@ -199,3 +199,15 @@
               "\npath suggested label = " +  
               (path.suggested ? path.suggestionLabel : "(none)") });
 }
+
+function do_inplace() {
+    var form = new Form("forms/inplace_edit_form.xml");
+    var path = form.getChild("path");
+
+    form.showForm("inplace_edit-display-pipeline.jx");
+    
+    cocoon.sendPage("textresult-display-pipeline.jx",
+        {title: "Inplace results", text: "name: " + form.getChild("name").value +
+            "\noccupation: " + form.getChild("occupation").value +
+            "\ncomments: " + form.getChild("comments") });
+}

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/welcome.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/welcome.xml?rev=385820&r1=385819&r2=385820&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/welcome.xml (original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/welcome.xml Tue
Mar 14 07:57:17 2006
@@ -135,6 +135,9 @@
    <sample name="Cocoon suggests" href="do-suggest.flow">
      (Ajax) Very simple demo of the &lt;fd:suggestion-list&gt; feature.
    </sample>
+   <sample name="In place editing" href="do-inplace.flow">
+	 (Ajax) Various ways to use in place editing.
+   </sample>
    <sample name="Other Ajax samples" href="../ajax/">
 	 (Ajax) Don't forget to look at the samples in the Ajax block!
    </sample>



Mime
View raw message