[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Renamed factories that wew created via the addform directive. This avoids weird

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Sep 23 10:47:35 EDT 2004


Log message for revision 27651:
  
  Renamed factories that wew created via the addform directive. This avoids weird
  dotted names and make the names shorter.
  
  


Changed:
  U   Zope3/trunk/src/zope/app/catalog/README.txt
  U   Zope3/trunk/src/zope/app/ftests/doctest.txt
  U   Zope3/trunk/src/zope/app/publisher/xmlrpc/README.txt
  U   Zope3/trunk/src/zope/app/site/browser/ftests/test_utilitytools.py
  U   Zope3/trunk/src/zope/app/uniqueid/ftests.py
  U   Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_contentworkflowsmanager.py
  U   Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_processdefinition.py


-=-
Modified: Zope3/trunk/src/zope/app/catalog/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/catalog/README.txt	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/catalog/README.txt	2004-09-23 14:47:35 UTC (rev 27651)
@@ -23,7 +23,7 @@
   ... Content-Type: application/x-www-form-urlencoded
   ... Referer: http://localhost:8081/++etc++site/default/AddUtility
   ... 
-  ... type_name=zope.app.browser.add.zope.app.uniqueid.UniqueIdUtility&id=&add=+Add+""")
+  ... type_name=BrowserAdd__zope.app.uniqueid.UniqueIdUtility&id=&add=+Add+""")
   HTTP/1.1 303 ...
 
 And register it:
@@ -89,7 +89,7 @@
   ... Content-Type: application/x-www-form-urlencoded
   ... Referer: http://localhost:8081/++etc++site/default/AddUtility
   ... 
-  ... type_name=zope.app.browser.add.zope.app.catalog.catalog.Catalog&id=&add=+Add+""")
+  ... type_name=BrowserAdd__zope.app.catalog.catalog.Catalog&id=&add=+Add+""")
   HTTP/1.1 303 ...
 
 and register it:

Modified: Zope3/trunk/src/zope/app/ftests/doctest.txt
===================================================================
--- Zope3/trunk/src/zope/app/ftests/doctest.txt	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/ftests/doctest.txt	2004-09-23 14:47:35 UTC (rev 27651)
@@ -127,7 +127,7 @@
   ... Content-Length: 73
   ... Content-Type: application/x-www-form-urlencoded
   ... 
-  ... type_name=zope.app.browser.add.zope.app.folder.folder.Folder&new_value=f1""")
+  ... type_name=BrowserAdd__zope.app.folder.folder.Folder&new_value=f1""")
   HTTP/1.1 303 See Other
   Content-Length: ...
   Content-Type: text/html;charset=utf-8

Modified: Zope3/trunk/src/zope/app/publisher/xmlrpc/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/publisher/xmlrpc/README.txt	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/publisher/xmlrpc/README.txt	2004-09-23 14:47:35 UTC (rev 27651)
@@ -48,7 +48,7 @@
   ... Content-Length: 73
   ... Content-Type: application/x-www-form-urlencoded
   ... 
-  ... type_name=zope.app.browser.add.zope.app.folder.folder.Folder&new_value=f1""")
+  ... type_name=BrowserAdd__zope.app.folder.folder.Folder&new_value=f1""")
   HTTP/1.1 303 See Other
   ...
 
@@ -58,7 +58,7 @@
   ... Content-Length: 73
   ... Content-Type: application/x-www-form-urlencoded
   ... 
-  ... type_name=zope.app.browser.add.zope.app.folder.folder.Folder&new_value=f2""")
+  ... type_name=BrowserAdd__zope.app.folder.folder.Folder&new_value=f2""")
   HTTP/1.1 303 See Other
   ...
 

Modified: Zope3/trunk/src/zope/app/site/browser/ftests/test_utilitytools.py
===================================================================
--- Zope3/trunk/src/zope/app/site/browser/ftests/test_utilitytools.py	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/site/browser/ftests/test_utilitytools.py	2004-09-23 14:47:35 UTC (rev 27651)
@@ -53,7 +53,7 @@
         response = self.publish(
             path+'/action.html', basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.i18n.translationdomain.TranslationDomain',
                   'id': 'zope',
                   'add': 'Add'})
@@ -77,7 +77,7 @@
             path + '/action.html',
             basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.i18n.translationdomain.TranslationDomain',
                   'id': 'zope',
                   'add': 'Add'})
@@ -101,7 +101,7 @@
             path + '/action.html',
             basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.i18n.translationdomain.TranslationDomain',
                   'id': 'zope',
                   'add': 'Add'})
@@ -127,7 +127,7 @@
             path + '/action.html',
             basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.i18n.translationdomain.TranslationDomain',
                   'id': 'zope',
                   'add': 'Add'})
@@ -154,7 +154,7 @@
             path + '/action.html',
             basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.i18n.translationdomain.TranslationDomain',
                   'id': 'zope',
                   'add': 'Add'})

Modified: Zope3/trunk/src/zope/app/uniqueid/ftests.py
===================================================================
--- Zope3/trunk/src/zope/app/uniqueid/ftests.py	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/uniqueid/ftests.py	2004-09-23 14:47:35 UTC (rev 27651)
@@ -41,7 +41,7 @@
         addUtility(sm, 'uniqueid', IUniqueIdUtility, UniqueIdUtility())
         commit()
 
-        type_name = 'zope.app.browser.add.zope.app.uniqueid.UniqueIdUtility'
+        type_name = 'BrowserAdd__zope.app.uniqueid.UniqueIdUtility'
 
         response = self.publish(
             self.basepath + '/contents.html',

Modified: Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_contentworkflowsmanager.py
===================================================================
--- Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_contentworkflowsmanager.py	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_contentworkflowsmanager.py	2004-09-23 14:47:35 UTC (rev 27651)
@@ -52,7 +52,7 @@
             self.basepath + '/contents.html',
             basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.workflow.stateful.contentworkflow.'
                   'ContentWorkflowsManager',
                   'new_value': 'mgr' })

Modified: Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_processdefinition.py
===================================================================
--- Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_processdefinition.py	2004-09-23 14:47:32 UTC (rev 27650)
+++ Zope3/trunk/src/zope/app/workflow/stateful/browser/ftests/test_processdefinition.py	2004-09-23 14:47:35 UTC (rev 27651)
@@ -59,7 +59,7 @@
             self.basepath + '/contents.html',
             basic='mgr:mgrpw',
             form={'type_name':
-                  'zope.app.browser.add.'
+                  'BrowserAdd__'
                   'zope.app.workflow.stateful.definition.'
                   'StatefulProcessDefinition',
                   'new_value': 'pd' })



More information about the Zope3-Checkins mailing list