[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Changed svn-props

Roger Ineichen roger at projekt01.ch
Mon Nov 8 08:57:54 EST 2004


Log message for revision 28396:
  Changed svn-props

Changed:
  _U  Zope3/trunk/src/zope/app/demo/pagelet/__init__.py
  _U  Zope3/trunk/src/zope/app/demo/pagelet/app.py
  _U  Zope3/trunk/src/zope/app/demo/pagelet/browser/__init__.py
  _U  Zope3/trunk/src/zope/app/demo/pagelet/browser/pageletmacros.py
  _U  Zope3/trunk/src/zope/app/demo/pagelet/browser/views.py
  _U  Zope3/trunk/src/zope/app/demo/pagelet/ftests.py
  _U  Zope3/trunk/src/zope/app/demo/pagelet/interfaces.py
  _U  Zope3/trunk/src/zope/app/demo/pageletchooser/__init__.py
  _U  Zope3/trunk/src/zope/app/demo/pageletchooser/adapters.py
  _U  Zope3/trunk/src/zope/app/demo/pageletchooser/app.py
  _U  Zope3/trunk/src/zope/app/demo/pageletchooser/ftests.py
  _U  Zope3/trunk/src/zope/app/demo/pageletchooser/interfaces.py
  _U  Zope3/trunk/src/zope/app/demo/pageletchooser/tests.py
  _U  Zope3/trunk/src/zope/app/pagelet/__init__.py
  _U  Zope3/trunk/src/zope/app/pagelet/collector.py
  _U  Zope3/trunk/src/zope/app/pagelet/exceptions.py
  _U  Zope3/trunk/src/zope/app/pagelet/interfaces.py
  _U  Zope3/trunk/src/zope/app/pagelet/metaconfigure.py
  _U  Zope3/trunk/src/zope/app/pagelet/metadirectives.py
  _U  Zope3/trunk/src/zope/app/pagelet/tales.py
  _U  Zope3/trunk/src/zope/app/pagelet/tests/__init__.py
  _U  Zope3/trunk/src/zope/app/pagelet/tests/test_directives.py
  _U  Zope3/trunk/src/zope/app/pagelet/tests/test_pagelet.py
  _U  Zope3/trunk/src/zope/app/pagelet/tests/testfiles/__init__.py
  UU  Zope3/trunk/src/zope/app/pageletchooser/README.txt
  _U  Zope3/trunk/src/zope/app/pageletchooser/__init__.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/adapters.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/browser/__init__.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/collector.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/exceptions.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/interfaces.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/tests.py
  _U  Zope3/trunk/src/zope/app/pageletchooser/vocabulary.py

-=-

Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/app.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/browser/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/browser/pageletmacros.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/browser/views.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/ftests.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pagelet/interfaces.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pageletchooser/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pageletchooser/adapters.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pageletchooser/app.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pageletchooser/ftests.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pageletchooser/interfaces.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/demo/pageletchooser/tests.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/collector.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/exceptions.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/interfaces.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/metaconfigure.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/metadirectives.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/tales.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/tests/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/tests/test_directives.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/tests/test_pagelet.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pagelet/tests/testfiles/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: Zope3/trunk/src/zope/app/pageletchooser/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/pageletchooser/README.txt	2004-11-08 13:49:43 UTC (rev 28395)
+++ Zope3/trunk/src/zope/app/pageletchooser/README.txt	2004-11-08 13:57:54 UTC (rev 28396)
@@ -1,89 +1,89 @@
-==============
-PageletChooser
-==============
-
-It's really helpfull if you understand how page template macros 
-get rendered in the metal:use-macro tag.
-
-The PageletChooser is a enhancement for the MacroCollector
-adapter which can lookup paelet macros for a given name
-related to the instance. If you use it, you will get a 
-view on the instance for to choose which pagelt macro will
-be used. You can select a pagelet macro name from the different 
-registred pagelets.
-
-The adapter PageletChooser registred for IChooseablePagelets
-can lookup and return a pagelet name for a given key. 
-The PageletChooser adapter requires a IPageletNameManager adapter 
-for to get a object which provides the property with the property
-where we whant lookup the mapped name. 
-
-Use case
---------
-
-Say you have a skin with a first level navigation with a image which
-requieres a image map driven by javascript. 
-
-What we can do with the PageletChooser is:
-
-First add a page template and image with the image map and register
-this page template as a pagelet 'called firstlevel_macro_10'.
-
-Add a interface inherited called 'IFirstLevelPagelets' from 
-IChooseablePagelets which is inherited from IPageletSlot. This means you 
-are defining a pagelet slot interface. 
-
-Add a index.html view and use the pagelet: tag with the interface
-'IFirstLevelPagelets' like:
-<metal:block tal:define="global chooser ...
+==============
+PageletChooser
+==============
+
+It's really helpfull if you understand how page template macros 
+get rendered in the metal:use-macro tag.
+
+The PageletChooser is a enhancement for the MacroCollector
+adapter which can lookup paelet macros for a given name
+related to the instance. If you use it, you will get a 
+view on the instance for to choose which pagelt macro will
+be used. You can select a pagelet macro name from the different 
+registred pagelets.
+
+The adapter PageletChooser registred for IChooseablePagelets
+can lookup and return a pagelet name for a given key. 
+The PageletChooser adapter requires a IPageletNameManager adapter 
+for to get a object which provides the property with the property
+where we whant lookup the mapped name. 
+
+Use case
+--------
+
+Say you have a skin with a first level navigation with a image which
+requieres a image map driven by javascript. 
+
+What we can do with the PageletChooser is:
+
+First add a page template and image with the image map and register
+this page template as a pagelet 'called firstlevel_macro_10'.
+
+Add a interface inherited called 'IFirstLevelPagelets' from 
+IChooseablePagelets which is inherited from IPageletSlot. This means you 
+are defining a pagelet slot interface. 
+
+Add a index.html view and use the pagelet: tag with the interface
+'IFirstLevelPagelets' like:
+<metal:block tal:define="global chooser ...
   ...pagelet:zope.app.demo.pageletchooser.interfaces.IFirstLevelPagelets">
   <tal:block metal:use-macro="chooser/firstlevel" />
-</metal:block>
-
-Register a content type which implements the schema 'IChooseablePageletNames'
-and register a adapter which supports the  'IPageletNameManager' schema.
-The 'IPageletNameManager' adapter has to support your pagelet macro
-names as field properties. In our use case 'firstlevel'.
-
-For to let you change the pagelet macro names on the contentn type,
-you need some different components.
-
-Register a PageletNamesVocabulary vocabulary called 'firstlevelnames'.
-Declare also your layer, view and slot interface in the vocabulary ZCML
-directive. This vocabulary can lookup the macro names of pagelets registred
-on this layer, views and slots. Use this vocabulary in the property fields
-of your IPageletNameStore interface as a Choice field. This will render the 
-fields as a selectbox where you can select on of the registred pagelet macro
-names. Use this vacabulary for the schema of your pagelet names.
-
-Define Choice fields in the schema 'IFirstLevelPagelets'. 
-The name of the field is the key of the pagelt where you will lookup in a 
-page template. In our example the field is called 'firstlevel' which is 
-useing the vocabulary "firstlevelmacronames".
-
-Add another adapter on your content type supporting the 'IFirstLevelPagelets' 
-schema. This adapter is setting and getting the mapped names of the 
-property field 'firstlevel'.
-
-So, that's enough for this moment. For a real example look at the package 
-zope.app.demo pageletchooser.
-
-Feel free to enhance or change this README for a better understanding.
-
-
-Glosary:
---------
-
-Pagelet name or macro name:
-
-Pagelet names are page template macro names which can be rendered 
-in the metal:use-macro tag. A pagelet name is the name of the macro.
-This means if you register a pagelet with the name 'firstlevel_macro_10' 
-the page template must contain a macro called 'firstlevel_macro_10' like:
-'define-macro="firstlevel_macro_10"'
-
-PageletChooser:
-
-Can lookup pagelet names on objects via the adapter IPageletNameManager
-A PageletChooser is a replacement for the MacroCollector which is used
-as a IMacroCollctor adapter.
+</metal:block>
+
+Register a content type which implements the schema 'IChooseablePageletNames'
+and register a adapter which supports the  'IPageletNameManager' schema.
+The 'IPageletNameManager' adapter has to support your pagelet macro
+names as field properties. In our use case 'firstlevel'.
+
+For to let you change the pagelet macro names on the contentn type,
+you need some different components.
+
+Register a PageletNamesVocabulary vocabulary called 'firstlevelnames'.
+Declare also your layer, view and slot interface in the vocabulary ZCML
+directive. This vocabulary can lookup the macro names of pagelets registred
+on this layer, views and slots. Use this vocabulary in the property fields
+of your IPageletNameStore interface as a Choice field. This will render the 
+fields as a selectbox where you can select on of the registred pagelet macro
+names. Use this vacabulary for the schema of your pagelet names.
+
+Define Choice fields in the schema 'IFirstLevelPagelets'. 
+The name of the field is the key of the pagelt where you will lookup in a 
+page template. In our example the field is called 'firstlevel' which is 
+useing the vocabulary "firstlevelmacronames".
+
+Add another adapter on your content type supporting the 'IFirstLevelPagelets' 
+schema. This adapter is setting and getting the mapped names of the 
+property field 'firstlevel'.
+
+So, that's enough for this moment. For a real example look at the package 
+zope.app.demo pageletchooser.
+
+Feel free to enhance or change this README for a better understanding.
+
+
+Glosary:
+--------
+
+Pagelet name or macro name:
+
+Pagelet names are page template macro names which can be rendered 
+in the metal:use-macro tag. A pagelet name is the name of the macro.
+This means if you register a pagelet with the name 'firstlevel_macro_10' 
+the page template must contain a macro called 'firstlevel_macro_10' like:
+'define-macro="firstlevel_macro_10"'
+
+PageletChooser:
+
+Can lookup pagelet names on objects via the adapter IPageletNameManager
+A PageletChooser is a replacement for the MacroCollector which is used
+as a IMacroCollctor adapter.


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/adapters.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/browser/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/collector.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/exceptions.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/interfaces.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/tests.py
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: Zope3/trunk/src/zope/app/pageletchooser/vocabulary.py
___________________________________________________________________
Name: svn:keywords
   + Id



More information about the Zope3-Checkins mailing list