Author: jmorliaguet
Date: Fri Oct 21 19:04:28 2005
New Revision: 28513

Modified:
   z3lab/z3ecm/trunk/src/ecm/cpsskins/example1/configure.zcml
   z3lab/z3ecm/trunk/src/ecm/cpsskins/example2/configure.zcml
   z3lab/z3ecm/trunk/src/ecm/cpsskins/example3/configure.zcml
   z3lab/z3ecm/trunk/src/ecm/cpsskins/example4/configure.zcml
Log:

- concept code for registering initial widgets / styles



Modified: z3lab/z3ecm/trunk/src/ecm/cpsskins/example1/configure.zcml
==============================================================================
--- z3lab/z3ecm/trunk/src/ecm/cpsskins/example1/configure.zcml  (original)
+++ z3lab/z3ecm/trunk/src/ecm/cpsskins/example1/configure.zcml  Fri Oct 21 
19:04:28 2005
@@ -1,13 +1,13 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope";
+    xmlns="http://namespaces.zope.org/cpsskins";
     xmlns:i18n="http://namespaces.zope.org/i18n";
-    xmlns:cpsskins="http://namespaces.zope.org/cpsskins";
+    xmlns:zope="http://namespaces.zope.org/zope";
     i18n_domain="ecm"
     >
 
   <!-- The 'Hello portlet' says 'Hello world' -->
 
-  <cpsskins:portlet
+  <portlet
       name="example1"
       title="Example1: Hello portlet"
       description="A hello world"
@@ -16,7 +16,7 @@
       icon="hello-icon.png"
   />
 
-  <adapter
+  <zope:adapter
       factory=".hello.HelloPortletData"
   />
 

Modified: z3lab/z3ecm/trunk/src/ecm/cpsskins/example2/configure.zcml
==============================================================================
--- z3lab/z3ecm/trunk/src/ecm/cpsskins/example2/configure.zcml  (original)
+++ z3lab/z3ecm/trunk/src/ecm/cpsskins/example2/configure.zcml  Fri Oct 21 
19:04:28 2005
@@ -1,13 +1,13 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope";
+    xmlns="http://namespaces.zope.org/cpsskins";
     xmlns:i18n="http://namespaces.zope.org/i18n";
-    xmlns:cpsskins="http://namespaces.zope.org/cpsskins";
+    xmlns:zope="http://namespaces.zope.org/zope";
     i18n_domain="ecm"
     >
 
   <!-- The 'Text portlet' displays some text entered by the user -->
 
-  <cpsskins:portlet
+  <portlet
       name="example2"
       title="Example2: Text portlet"
       description="A simple text portlet"
@@ -16,7 +16,7 @@
       icon="text-icon.png"
   />
 
-  <adapter
+  <zope:adapter
       factory=".text.TextPortletData"
   />
 

Modified: z3lab/z3ecm/trunk/src/ecm/cpsskins/example3/configure.zcml
==============================================================================
--- z3lab/z3ecm/trunk/src/ecm/cpsskins/example3/configure.zcml  (original)
+++ z3lab/z3ecm/trunk/src/ecm/cpsskins/example3/configure.zcml  Fri Oct 21 
19:04:28 2005
@@ -1,22 +1,32 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope";
+    xmlns="http://namespaces.zope.org/cpsskins";
     xmlns:i18n="http://namespaces.zope.org/i18n";
-    xmlns:cpsskins="http://namespaces.zope.org/cpsskins";
+    xmlns:zope="http://namespaces.zope.org/zope";
     i18n_domain="ecm"
     >
 
   <!-- The 'Items portlet' produces a list of items  -->
 
-  <cpsskins:portlet
+  <portlet
       name="example3"
       title="example3: Items portlet"
       description="A portlet that returns a list of items"
       factory=".items.ItemsPortlet"
       schema=".items.IItemsPortlet"
-      icon="items-icon.png"
-  />
+      icon="items-icon.png">
+
+      <format
+         name="widget"
+         id="vertical_menu"
+      />
+
+      <format
+         name="style"
+      />
+
+  </portlet>
 
-  <adapter
+  <zope:adapter
       factory=".items.ItemsPortletData"
   />
 

Modified: z3lab/z3ecm/trunk/src/ecm/cpsskins/example4/configure.zcml
==============================================================================
--- z3lab/z3ecm/trunk/src/ecm/cpsskins/example4/configure.zcml  (original)
+++ z3lab/z3ecm/trunk/src/ecm/cpsskins/example4/configure.zcml  Fri Oct 21 
19:04:28 2005
@@ -1,22 +1,32 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope";
+    xmlns="http://namespaces.zope.org/cpsskins";
+    xmlns:zope="http://namespaces.zope.org/zope";
     xmlns:i18n="http://namespaces.zope.org/i18n";
-    xmlns:cpsskins="http://namespaces.zope.org/cpsskins";
     i18n_domain="ecm"
     >
 
   <!-- The 'Actions portlet' produces a list of actions items -->
 
-  <cpsskins:portlet
+  <portlet
       name="example4"
       title="Example4: Actions portlet"
       description="A portlet that returns a list of actions items"
       factory=".actions.ActionsPortlet"
       schema=".actions.IActionsPortlet"
-      icon="actions-icon.png"
-  />
+      icon="actions-icon.png">
+
+      <format
+         name="widget"
+         id="vertical_menu"
+      />
+
+      <format
+         name="style"
+      />
+
+  </portlet>
 
-  <adapter
+  <zope:adapter
       factory=".actions.ActionsPortletData"
   />
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to