Author: jmorliaguet
Date: Wed Feb  1 23:49:04 2006
New Revision: 2262

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/cpsskins_storage_adapters.pt
Log:

- renamed 'local storage' as 'volatile storage' since there is
  no data persistence for that type of storage if the page is reloaded.



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Wed Feb  1 
23:49:04 2006
@@ -610,7 +610,7 @@
   _setStorageAdapter: function() {
     var storage_def = this.def.storage;
     if (!storage_def) {
-      storage_def = {"type": "local"};
+      storage_def = {"type": "volatile"};
     }
     this.storage = Storages[storage_def.type](this);
   }
@@ -639,8 +639,8 @@
 if (!window.Storages) { var Storages = new Object(); }
 Object.extend(Storages, {
 
-  local: function(model) {
-    return new CPSSkins.LocalStorage(model);
+  volatile: function(model) {
+    return new CPSSkins.VolatileStorage(model);
   },
 
   remote: function(model) {
@@ -649,8 +649,8 @@
 
 });
 
-CPSSkins.LocalStorage = Class.create();
-CPSSkins.LocalStorage.prototype = Object.extend(
+CPSSkins.VolatileStorage = Class.create();
+CPSSkins.VolatileStorage.prototype = Object.extend(
   new CPSSkins.StorageAdapter(), {
 
   requestData: function() {

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/cpsskins_storage_adapters.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/cpsskins_storage_adapters.pt
    (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/cpsskins_storage_adapters.pt
    Wed Feb  1 23:49:04 2006
@@ -137,10 +137,10 @@
   </ins>
 
 
-  <h2>Local storage</h2>
+  <h2>Volatile storage</h2>
 
-  <p>In a <strong>local storage</strong> the data is entirely stored on the
-     client. The server is never accessed.</p>
+  <p>In a <strong>volatile storage</strong> the data is entirely stored on the
+     client. The server is never accessed. There is no data persistence.</p>
 
   <div id="area1">
 
@@ -150,7 +150,7 @@
       "content": ""
      },
      "storage": {
-       "type": "local"
+       "type": "volatile"
        }
      }
     }
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to