Author: jmorliaguet
Date: Wed May 10 21:23:07 2006
New Revision: 3099

Modified:
   
cpsskins/branches/paris-sprint-2006/lib/cpsskins/tests/functional/panels/cpsskins_panels.pt

Log:

- associating several remote scripting controllers to a same view is not a
  good idea since DOM events are triggered several times.



Modified: 
cpsskins/branches/paris-sprint-2006/lib/cpsskins/tests/functional/panels/cpsskins_panels.pt
==============================================================================
--- 
cpsskins/branches/paris-sprint-2006/lib/cpsskins/tests/functional/panels/cpsskins_panels.pt
 (original)
+++ 
cpsskins/branches/paris-sprint-2006/lib/cpsskins/tests/functional/panels/cpsskins_panels.pt
 Wed May 10 21:23:07 2006
@@ -31,10 +31,10 @@
   <h1>CPSSkins Panels / Remote scripting</h1>
 
   <p>The panel shown below has a form controller attached to it. When the user
-  clicks on the "click me!" button a remote call is done to the server which 
+  clicks on the "click me!" button a remote call is done to the server which
   performs some action with the form data and returns a new url for the panel.
   </p>
-  <p>This makes it possible to perform a form submission with a redirection 
+  <p>This makes it possible to perform a form submission with a redirection
   inside a given area of a page without reloading the entire page.
   </p>
   <p>There is also a "Remote Scripting Controller" which converts HTML links
@@ -104,7 +104,7 @@
     }}
     </ins>
   </div>
-  
+
   <table>
   <tr>
   <td>
@@ -113,7 +113,7 @@
     {"id": "panel-view-3",
      "model": "panel3",
      "perspectives": ["default"],
-     "controllers": ["show-panel", "request3", "request4"],
+     "controllers": ["show-panel", "request3-4"],
      "widget": {
        "type": "panel"
      },
@@ -132,7 +132,7 @@
     {"id": "panel-view-4",
      "model": "panel4",
      "perspectives": ["default"],
-     "controllers": ["show-panel", "request3", "request4"],
+     "controllers": ["show-panel", "request3-4"],
      "widget": {
        "type": "panel"
      },
@@ -160,13 +160,7 @@
   </ins>
 
   <ins class="controller">
-  {"id": "request3",
-   "type": "remote scripting"
-  }
-  </ins>
-
-  <ins class="controller">
-  {"id": "request4",
+  {"id": "request3-4",
    "type": "remote scripting"
   }
   </ins>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to