Author: jmorliaguet
Date: Wed Nov  2 11:44:29 2005
New Revision: 28880

Added:
   z3lab/cpsskins/branches/jmo-perspectives/engines/default/accesskeys.zcml   
(contents, props changed)
   z3lab/cpsskins/branches/jmo-perspectives/engines/default/engine.zcml   
(contents, props changed)
   
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/accesskeys/configure.zcml
   (contents, props changed)
Modified:
   z3lab/cpsskins/branches/jmo-perspectives/engines/default/configure.zcml
   
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/configure.zcml
Log:

- added an access key to the default engine for testing



Added: z3lab/cpsskins/branches/jmo-perspectives/engines/default/accesskeys.zcml
==============================================================================
--- (empty file)
+++ z3lab/cpsskins/branches/jmo-perspectives/engines/default/accesskeys.zcml    
Wed Nov  2 11:44:29 2005
@@ -0,0 +1,14 @@
+<configure
+    xmlns="http://namespaces.zope.org/cpsskins";>
+
+  <accesskeys
+      name="default"
+  />
+
+  <accesskey
+      collection="default"
+      key="_"
+      url="test.html"
+  />
+
+</configure>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/configure.zcml
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/engines/default/configure.zcml     
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/engines/default/configure.zcml     
Wed Nov  2 11:44:29 2005
@@ -1,6 +1,11 @@
 <configure
     xmlns="http://namespaces.zope.org/cpsskins";>
 
+  <!-- Access keys -->
+
+  <include file="accesskeys.zcml" />
+
+
   <!-- Default engine's formats -->
 
   <include package=".formats" />
@@ -11,73 +16,8 @@
   <include package=".filters" />
 
 
-  <!-- Default engine -->
-
-  <engine
-      name="default"
-  />
-
-  <renderer
-      engine="default"
-      for="cpsskins.elements.interfaces.ITheme"
-  />
-
-
-  <!-- Canvas elements -->
-
-  <renderer
-      for="cpsskins.elements.interfaces.IThemePage
-           cpsskins.elements.interfaces.IPageBlock
-           cpsskins.elements.interfaces.ICell"
-      engine="default"
-      >
-
-    <filter
-        name="widget"
-    />
-
-    <filter
-        name="layout"
-    />
-
-    <filter
-        name="style"
-    />
-
-  </renderer>
-
-  <renderer
-      for="cpsskins.elements.interfaces.ISlot"
-      engine="default"
-      >
-
-  </renderer>
-
-
-  <!-- Content elements -->
-
-  <renderer
-      for="cpsskins.elements.interfaces.IPortlet"
-      engine="default"
-      >
-
-    <filter
-        name="effect"
-    />
-
-    <filter
-        name="widget"
-    />
-
-    <filter
-        name="style"
-    />
-
-    <filter
-        name="htmlcleaner"
-    />
-
-  </renderer>
+  <!-- Default engine definition -->
 
+  <include file="engine.zcml" />
 
 </configure>

Added: z3lab/cpsskins/branches/jmo-perspectives/engines/default/engine.zcml
==============================================================================
--- (empty file)
+++ z3lab/cpsskins/branches/jmo-perspectives/engines/default/engine.zcml        
Wed Nov  2 11:44:29 2005
@@ -0,0 +1,91 @@
+<configure
+    xmlns="http://namespaces.zope.org/cpsskins";>
+
+  <engine
+      name="default"
+  />
+
+  <renderer
+      engine="default"
+      for="cpsskins.elements.interfaces.ITheme"
+  />
+
+
+  <!-- Canvas elements -->
+
+  <renderer
+      for="cpsskins.elements.interfaces.IThemePage"
+      engine="default"
+      >
+
+    <filter
+        name="widget"
+    />
+
+    <filter
+        name="layout"
+    />
+
+    <filter
+        name="style"
+    />
+
+  </renderer>
+
+
+  <renderer
+      for="cpsskins.elements.interfaces.IPageBlock
+           cpsskins.elements.interfaces.ICell"
+      engine="default"
+      >
+
+    <filter
+        name="widget"
+    />
+
+    <filter
+        name="layout"
+    />
+
+    <filter
+        name="style"
+    />
+
+  </renderer>
+
+
+  <renderer
+      for="cpsskins.elements.interfaces.ISlot"
+      engine="default"
+      >
+
+  </renderer>
+
+
+  <!-- Content elements -->
+
+  <renderer
+      for="cpsskins.elements.interfaces.IPortlet"
+      engine="default"
+      >
+
+    <filter
+        name="effect"
+    />
+
+    <filter
+        name="widget"
+    />
+
+    <filter
+        name="style"
+    />
+
+    <filter
+        name="htmlcleaner"
+    />
+
+  </renderer>
+
+
+</configure>

Added: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/accesskeys/configure.zcml
==============================================================================
--- (empty file)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/accesskeys/configure.zcml
  Wed Nov  2 11:44:29 2005
@@ -0,0 +1,13 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope";
+    xmlns:browser="http://namespaces.zope.org/browser";
+    xmlns:cpsskins="http://namespaces.zope.org/cpsskins";>
+
+  <!-- Access key filter: adds access keys to an element -->
+
+  <cpsskins:filter
+      name="accesskeys"
+      factory=".AccessKeys"
+  />
+
+</configure>

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/configure.zcml
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/configure.zcml 
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/configure.zcml 
    Wed Nov  2 11:44:29 2005
@@ -11,4 +11,6 @@
 
     <include package=".htmlcleaner" />
 
+    <include package=".accesskeys" />
+
 </configure>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to