[Erp5-report] r34403 luke - in /erp5/trunk/bt5/erp5_ui_test: ActionTemplateItem/portal_type...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 8 17:29:04 CEST 2010


Author: luke
Date: Thu Apr  8 17:29:02 2010
New Revision: 34403

URL: http://svn.erp5.org?rev=34403&view=rev
Log:
 - test for the fact, that during navigating next/previous bogus form_id is *not* reused, implemented in r34365

Added Foos and Bars module, which contains Foos or Bars (with all needed logic).
Real test in testSelectionPreviousNextButtonsDoesNotKeepBogusFormId.

Added:
    erp5/trunk/bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo%20Bar%20Module/
    erp5/trunk/bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo%20Bar%20Module/view.xml
    erp5/trunk/bt5/erp5_ui_test/ModuleTemplateItem/foo_bar_module.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsDoesNotKeepBogusFormId.xml
    erp5/trunk/bt5/erp5_ui_test/PortalTypeTemplateItem/portal_types/Foo%20Bar%20Module.xml
    erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_createObjects.xml
    erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList/
    erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList.xml
    erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList/listbox.xml
Modified:
    erp5/trunk/bt5/erp5_ui_test/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
    erp5/trunk/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
    erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
    erp5/trunk/bt5/erp5_ui_test/bt/revision
    erp5/trunk/bt5/erp5_ui_test/bt/template_action_path_list
    erp5/trunk/bt5/erp5_ui_test/bt/template_module_id_list
    erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_base_category_list
    erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_id_list

Added: erp5/trunk/bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo%20Bar%20Module/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo%2520Bar%2520Module/view.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo%20Bar%20Module/view.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo%20Bar%20Module/view.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,91 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_list</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_list</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>view</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Action Information</string> </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>View</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/FooBarModule_viewFooBarList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_ui_test/ModuleTemplateItem/foo_bar_module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/ModuleTemplateItem/foo_bar_module.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/ModuleTemplateItem/foo_bar_module.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/ModuleTemplateItem/foo_bar_module.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,96 @@
+<module>
+ <id>foo_bar_module</id>
+ <permission_list>
+  <permission type='tuple'>
+   <name>Access Transient Objects</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Access contents information</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Access session data</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Add portal content</name>
+   <role>Assignor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Add portal folders</name>
+   <role>Assignor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Change local roles</name>
+   <role>Assignor</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Copy or Move</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Delete objects</name>
+   <role>Assignor</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>List folder contents</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>Modify portal content</name>
+   <role>Assignor</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>View</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Manager</role>
+  </permission>
+  <permission type='tuple'>
+   <name>View History</name>
+   <role>Assignee</role>
+   <role>Assignor</role>
+   <role>Associate</role>
+   <role>Auditor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
+ </permission_list>
+ <portal_type>Foo Bar Module</portal_type>
+ <title>Foos and Bars</title>
+</module>

Added: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsDoesNotKeepBogusFormId.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsDoesNotKeepBogusFormId.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsDoesNotKeepBogusFormId.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsDoesNotKeepBogusFormId.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,128 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<html xmlns:tal="http://xml.zope.org/namespaces/tal"\n
+      xmlns:metal="http://xml.zope.org/namespaces/metal">\n
+<head>\n
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
+<title>Test Previous and Next buttons for Selection does not keep bogus `form_id`</title>\n
+</head>\n
+<body>\n
+<table cellpadding="1" cellspacing="1" border="1">\n
+<thead>\n
+<tr><td rowspan="1" colspan="3">Test Previous and Next buttons for Selection\n
+does not keep bogus `form_id`.</td></tr>\n
+</thead><tbody>\n
+<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
+<tr>\n
+  <td>open</td>\n
+  <td>${base_url}/foo_bar_module/FooBarModule_createObjects?num:int=1</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>assertTextPresent</td>\n
+  <td>Created Successfully.</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>open</td>\n
+  <td>${base_url}/foo_bar_module/Zuite_waitForActivities</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>assertTextPresent</td>\n
+  <td>Done.</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>open</td>\n
+  <td>${base_url}/foo_bar_module/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>link=foo_0</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>link=View</td>\n
+  <td></td>\n
+</tr>\n
+<!-- Prev / Next -->\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//div[@id=\'context_bar\']//a[@title=\'Previous\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>assertAbsoluteLocation</td>\n
+  <td tal:content="string:glob:${here/portal_url}/foo_bar_module/bar_0/view*" />\n
+  <td></td>\n
+</tr>\n
+\n
+</tbody></table>\n
+</body>\n
+</html>\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>text/html</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>testSelectionPreviousNextButtonsDoesNotKeepBogusFormId</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_ui_test/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -6,6 +6,10 @@
  <portal_type id="Foo">
   <item>Foo Line</item>
  </portal_type>
+ <portal_type id="Foo Bar Module">
+  <item>Bar</item>
+  <item>Foo</item>
+ </portal_type>
  <portal_type id="Foo Line">
   <item>Foo Line</item>
  </portal_type>

Modified: erp5/trunk/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -4,6 +4,9 @@
   <item>foo_big_category</item>
   <item>foo_category</item>
  </portal_type>
+ <portal_type id="Foo Bar Module">
+  <item>business_application</item>
+ </portal_type>
  <portal_type id="Foo Line">
   <item>foo_category</item>
  </portal_type>

Added: erp5/trunk/bt5/erp5_ui_test/PortalTypeTemplateItem/portal_types/Foo%20Bar%20Module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PortalTypeTemplateItem/portal_types/Foo%2520Bar%2520Module.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PortalTypeTemplateItem/portal_types/Foo%20Bar%20Module.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/PortalTypeTemplateItem/portal_types/Foo%20Bar%20Module.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,153 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_property_domain_dict</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>short_title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>content_icon</string> </key>
+            <value> <string>folder_icon.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>  A Folder is a subclass of Base but not of XMLObject.\r\n
+  Folders are not considered as documents and are therefore\r\n
+  not synchronisable.\r\n
+\r\n
+  ERP5 folders are implemented as CMFBTreeFolder objects\r\n
+  and can store up to a million documents on a standard\r\n
+  computer.\r\n
+  ERP5 folders will eventually use in the near future the\r\n
+  AdaptableStorage implementation in order to reach performances\r\n
+  of 10 or 100 millions of documents in a single folder.\r\n
+\r\n
+  ERP5 folders include an automatic id generation feature\r\n
+  which allows user not to define an id when they create\r\n
+  a new document in a folder.\r\n
+\r\n
+  ERP5 folders use the ZSQLCatalog to search for objects\r\n
+  or display content. This requires a method called\r\n
+  *z_search_folder* to be put inside the ZSQLCatalog object\r\n
+  of the ERP5 portal.\r\n
+\r\n
+  An ERP5 Binder document class will eventually be defined\r\n
+  in order to implement a binder of documents which can itself\r\n
+  be categorized.\r\n
+  </string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addFolder</string> </value>
+        </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string>document_icon.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Foo Bar Module</string> </value>
+        </item>
+        <item>
+            <key> <string>immediate_view</string> </key>
+            <value> <string>Folder_view</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>meta_type</string> </key>
+            <value> <string>ERP5 Folder</string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Base Type</string> </value>
+        </item>
+        <item>
+            <key> <string>product</string> </key>
+            <value> <string>ERP5Type</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>short_title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_createObjects.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_createObjects.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_createObjects.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_createObjects.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,141 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>"""Create objects with given parameters"""\n
+for i in range(start, start + num):\n
+  context.newContent(id = \'foo_\' + str(i), title = \'Foo Title %d\' % i, portal_type=\'Foo\')\n
+for i in range(start, start + num):\n
+  context.newContent(id = \'bar_\' + str(i), title = \'Bar Title %d\' % i, portal_type=\'Bar\')\n
+\n
+return \'Created Successfully.\'\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string>start = 0, num = 0</string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>2</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>start</string>
+                            <string>num</string>
+                            <string>_getiter_</string>
+                            <string>range</string>
+                            <string>i</string>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>str</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <tuple>
+                <int>0</int>
+                <int>0</int>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>FooBarModule_createObjects</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Create Objects</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,155 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ERP5Form" module="Products.ERP5Form.Form"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary/>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value> <string>Base_doSelect</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>edit_order</string> </key>
+            <value>
+              <list/>
+            </value>
+        </item>
+        <item>
+            <key> <string>encoding</string> </key>
+            <value> <string>UTF-8</string> </value>
+        </item>
+        <item>
+            <key> <string>enctype</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <list>
+                <string>left</string>
+                <string>right</string>
+                <string>center</string>
+                <string>bottom</string>
+                <string>hidden</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>groups</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>bottom</string> </key>
+                    <value>
+                      <list>
+                        <string>listbox</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>center</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>hidden</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>left</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>right</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>FooBarModule_viewFooBarList</string> </value>
+        </item>
+        <item>
+            <key> <string>method</string> </key>
+            <value> <string>POST</string> </value>
+        </item>
+        <item>
+            <key> <string>name</string> </key>
+            <value> <string>FooBarModule_viewFooBarList</string> </value>
+        </item>
+        <item>
+            <key> <string>pt</string> </key>
+            <value> <string>form_list</string> </value>
+        </item>
+        <item>
+            <key> <string>row_length</string> </key>
+            <value> <int>4</int> </value>
+        </item>
+        <item>
+            <key> <string>stored_encoding</string> </key>
+            <value> <string>UTF-8</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Foos and Bars</string> </value>
+        </item>
+        <item>
+            <key> <string>unicode_mode</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>update_action</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>update_action_title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList/listbox.xml?rev=34403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList/listbox.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooBarModule_viewFooBarList/listbox.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -1,0 +1,135 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>delegated_list</string> </key>
+            <value>
+              <list>
+                <string>columns</string>
+                <string>selection_name</string>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>listbox</string> </value>
+        </item>
+        <item>
+            <key> <string>message_values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>external_validator_failed</string> </key>
+                    <value> <string>The input failed the external validator.</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>overrides</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>tales</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>columns</string> </key>
+                    <value>
+                      <list>
+                        <tuple>
+                          <string>id</string>
+                          <string>ID</string>
+                        </tuple>
+                        <tuple>
+                          <string>title</string>
+                          <string>Title</string>
+                        </tuple>
+                        <tuple>
+                          <string>getQuantity</string>
+                          <string>Quantity</string>
+                        </tuple>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string>my_list_mode_listbox</string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string>Base_viewFieldLibrary</string> </value>
+                </item>
+                <item>
+                    <key> <string>portal_type</string> </key>
+                    <value>
+                      <list>
+                        <tuple>
+                          <string>delete</string>
+                          <string>delete</string>
+                        </tuple>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>selection_name</string> </key>
+                    <value> <string>foo_bar_module_selection</string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string>Click to edit the target</string> </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string>Foos and Bars</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml [utf8] Thu Apr  8 17:29:02 2010
@@ -56,7 +56,7 @@
             <value> <string>"""Reset everything for the test"""\n
 \n
 # Clean up the contents.\n
-for name in (\'foo_module\', \'bar_module\'):\n
+for name in (\'foo_module\', \'bar_module\', \'foo_bar_module\'):\n
   module = getattr(context, name)\n
   module.manage_delObjects(list(module.objectIds()))\n
   module.setLastId(1)\n

Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] Thu Apr  8 17:29:02 2010
@@ -1,1 +1,1 @@
-553
+554

Modified: erp5/trunk/bt5/erp5_ui_test/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/template_action_path_list?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/template_action_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/template_action_path_list [utf8] Thu Apr  8 17:29:02 2010
@@ -2,6 +2,7 @@
 Bar | list
 Bar | performance
 Bar | view
+Foo Bar Module | view
 Foo Line | view
 Foo Module | list
 Foo Module | list_ui

Modified: erp5/trunk/bt5/erp5_ui_test/bt/template_module_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/template_module_id_list?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/template_module_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/template_module_id_list [utf8] Thu Apr  8 17:29:02 2010
@@ -1,2 +1,3 @@
 bar_module
+foo_bar_module
 foo_module

Modified: erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_allowed_content_type_list?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_allowed_content_type_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_allowed_content_type_list [utf8] Thu Apr  8 17:29:02 2010
@@ -1,5 +1,7 @@
 Bar Module | Bar
 Bar Module | Foo
+Foo Bar Module | Bar
+Foo Bar Module | Foo
 Foo Line | Foo Line
 Foo Module | Foo
 Foo | Foo Line

Modified: erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_base_category_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_base_category_list?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_base_category_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_base_category_list [utf8] Thu Apr  8 17:29:02 2010
@@ -1,3 +1,4 @@
+Foo Bar Module | business_application
 Foo Line | foo_category
 Foo | bar_category
 Foo | foo_big_category

Modified: erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_id_list?rev=34403&r1=34402&r2=34403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/template_portal_type_id_list [utf8] Thu Apr  8 17:29:02 2010
@@ -1,5 +1,6 @@
 Bar
 Bar Module
 Foo
+Foo Bar Module
 Foo Line
 Foo Module




More information about the Erp5-report mailing list