Author: jmorliaguet
Date: Sun Feb  5 12:46:17 2006
New Revision: 2298

Modified:
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
Log:

- updated documentation



Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
        Sun Feb  5 12:46:17 2006
@@ -16,6 +16,11 @@
 
   <style type="text/css">
 
+    h2 {
+      border-bottom: 1px solid black;
+      margin-top: 2em;
+    }
+
     div.inputbox {
       padding: 0.5em;
       width: 300px;
@@ -29,7 +34,7 @@
       border-style: solid;
       border-color: #000 #999 #999 #000;
       width: 175px;
-      font: 1.3em arial;
+      font: 1.4em arial;
     }
 
     div.content {
@@ -153,7 +158,7 @@
     <ins class="model">
     {"id": "ram-data-provider",
      "data": {
-      "message": "",
+      "message": "Please enter the answer:",
       "content": ""
      },
      "storage": {
@@ -186,8 +191,8 @@
     <ins class="model">
     {"id": "local-data-provider",
      "data": {
-      "message": "",
-      "content": ""
+      "message": "Please enter the answer:",
+      "content": "No answer yet."
      },
      "storage": {
        "id": "1",
@@ -270,8 +275,24 @@
 
   <a name="compound"></a>
   <h2>Compound storage</h2>
-  <p>A compound storage is created by putting together the storages of 
different
-     models.</p>
+
+  <p>A compound storage is created by combining the storages of
+     different models.</p>
+
+  <p>In this example there are two storages:</p>
+  <ul>
+    <li>A RAM storage for setting the status message on the client's side.</li>
+    <li>A remote storage for saving the answer and for setting the status
+        message from the server's side.</li>
+  </ul>
+
+  <p>Both storages are combined into a unique <strong>compound 
storage</strong>.
+  </p>
+
+  <p>Hence the view (input box widget) still observes a unique model.
+     The status message can be written to both by the client and by the server
+     and the view will be automatically updated.
+  </p>
 
   <div id="area3">
     <ins class="model">
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to