diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BaseCategoryDocumentationHelper_view/class_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BaseCategoryDocumentationHelper_view/class_method_listbox.xml index 646b326d149c5c729dc4692741e50bcdde6f47ec..f105f7f764dc5a3f1529568df4bb0385fb6277d4 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BaseCategoryDocumentationHelper_view/class_method_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BaseCategoryDocumentationHelper_view/class_method_listbox.xml @@ -113,7 +113,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here. PortalTypeDocumentationHeper_getListboxVisibilityFromContext()</string> </value> + <value> <string>python: here.PortalTypeDocumentationHeper_getListboxVisibilityFromContext() and context.DocumentationHelper_getClassMethodList() !=[]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/base_category_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/base_category_listbox.xml index 2cc2b31da849a05f871f116abd8af64a10f7baab..8672fc6ad1ca4be31909cb09288fe1a2f43ad136 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/base_category_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/base_category_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getBaseCategoryList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/catalog_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/catalog_method_listbox.xml index 3621fe3b73d86747fbdcbf2b26fff6fd586c2c83..5cb33c236035103b75a62903f44fc32ff2cf0ed8 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/catalog_method_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/catalog_method_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getCatalogMethodList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/dc_workflow_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/dc_workflow_listbox.xml index 1641932ba3dbdb5d8a669e40856d673d5231571a..c0ee40ca4c1e87bcd410a7785472fb1a6a89edef 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/dc_workflow_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/dc_workflow_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getDCWorkflowList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/interaction_workflow_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/interaction_workflow_listbox.xml index bf9645de4bc2eea4a8bf9ee0301173bc638b09e7..618124fde408139b805c7fcdaf43c39760570087 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/interaction_workflow_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/interaction_workflow_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getInteractionWorkflowList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/module_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/module_listbox.xml index 3e59bffc43eb3216e81c4b0ea78ad7c1b6a25027..5c21bc73d74d49b2a285ae4da71b2479b9bc0159 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/module_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/module_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getModuleList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/portal_type_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/portal_type_listbox.xml index c0aa23da8ed2f6588ee61bec48f8bc4427c714b5..88f3dc07f664c82b56306e6ad6c76abfdcc8e52e 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/portal_type_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/portal_type_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getPortalTypeList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/skin_folder_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/skin_folder_listbox.xml index 7b484143bf8cc3384f508f15346af4f1cd5e7eb1..b1dcd83317e68194c02c1bd6dded5e18de639a54 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/skin_folder_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/BusinessTemplateDocumentationHelper_view/skin_folder_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.BusinessTemplateDocumentationHelper_getSkinFolderList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_getWorkflowWorklistList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_getWorkflowWorklistList.xml index a32c063a4e8c95a4af62d7ca08513482fb4caa3e..dba3955e8390fc32afb09ef00359e7b2e0320619 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_getWorkflowWorklistList.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_getWorkflowWorklistList.xml @@ -63,7 +63,7 @@ def compareId(a, b):\n state_list = context.getWorklistURIList()\n base_uri = context.getURI()\n result = map(\n - lambda x: context.asContext(id=x[0].split(\'.\')[-1], title=x[1], description=x[2], role=x[3], uri=x[0], base_uri=base_uri),\n + lambda x: context.asContext(id=x[0].split(\'.\')[-1], description=x[2], role=x[3], uri=x[0], base_uri=base_uri),\n state_list \n )\n result.sort(compareId)\n diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_permission_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_permission_listbox.xml index ad54dbc19336d9402a125835defc89a87c1cfae9..03cb2fdcc42751d1e892b0924f317f9998080540 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_permission_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_permission_listbox.xml @@ -18,6 +18,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -59,6 +60,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -105,6 +116,10 @@ </list> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -116,7 +131,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -149,6 +164,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DCWorkflowDocumentationHelper_getWorkflowPermissionList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_script_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_script_listbox.xml index 6d67fac96588d723231bd2951c9ab56f3cecee25..0877db72e6286a4a824b6aa9295d377ad738e638 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_script_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_script_listbox.xml @@ -18,6 +18,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -59,6 +60,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -109,6 +120,10 @@ </list> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -120,7 +135,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -157,6 +172,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DCWorkflowDocumentationHelper_getWorkflowScriptList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_state_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_state_listbox.xml index 2aaadcbf04865a926a0935f5b042c9fe19c05f4b..0297a8435437ba7caafa733d7e47f3cf06a5572e 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_state_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_state_listbox.xml @@ -18,6 +18,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -59,6 +60,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -133,6 +144,10 @@ </list> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -144,7 +159,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -205,6 +220,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DCWorkflowDocumentationHelper_getWorkflowStateList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_transition_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_transition_listbox.xml index 5d3ab3c1ee1ca69d52b09800c33faffef968bb8a..0dad7bf3ecc45498728d78b8fbb78f7ff2e784a1 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_transition_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_transition_listbox.xml @@ -18,6 +18,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -59,6 +60,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -121,6 +132,10 @@ </list> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -132,7 +147,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -181,6 +196,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DCWorkflowDocumentationHelper_getWorkflowTransitionList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_variable_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_variable_listbox.xml index 6094df5c3afcf5ee43eb833cd807103b8f62dd54..44e09d23fb0cf044cb0109bff741f216f5d6c2fe 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_variable_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_variable_listbox.xml @@ -18,6 +18,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -59,6 +60,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -113,6 +124,10 @@ </list> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -124,7 +139,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -165,6 +180,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DCWorkflowDocumentationHelper_getWorkflowVariableList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_worklist_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_worklist_listbox.xml index 2781e435369f2b3ca7cd9a4b787a496e5e43fb0c..e0e168220b80a6e0583feee0121a7b8070a832a8 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_worklist_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DCWorkflowDocumentationHelper_view/workflow_worklist_listbox.xml @@ -18,6 +18,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -59,6 +60,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -102,10 +113,6 @@ <string>id</string> <string>Id</string> </tuple> - <tuple> - <string>title</string> - <string>Title</string> - </tuple> <tuple> <string>description</string> <string>Description</string> @@ -117,6 +124,10 @@ </list> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -128,7 +139,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -151,10 +162,6 @@ <string>id</string> <string>DCWorkflowDocumentationHelper_getWorkflowWorklistUrl</string> </tuple> - <tuple> - <string>title</string> - <string>DCWorkflowDocumentationHelper_getWorkflowWorklistUrl</string> - </tuple> <tuple> <string>description</string> <string>DCWorkflowDocumentationHelper_getWorkflowWorklistUrl</string> @@ -173,6 +180,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DCWorkflowDocumentationHelper_getWorkflowWorklistList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml index 6e3c0a8c9e7e37b76e3bbb0c07389fde08a33ccc..3ac26d8b8e71b4d39d58860a93e2bc4d4460476a 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml @@ -168,11 +168,18 @@ for section in section_list:\n result+=results[0]\n class_methods_list+=results[1]\n property_sheets_list+=results[2]\n - if root_class_name == "ERP5SiteDocumentationHelper" and class_name==\'DCWorkflowDocumentationHelper\':\n + class_iterate_list = [\'DCWorkflowDocumentationHelper\', \n + \'SkinFolderDocumentationHelper\']\n + section_class_name = class_name \n + sub_displayed_class = [\'DCWorkflowScriptDocumentationHelper\',\n + \'PageTemplateDocumentationHelper\',\n + \'ScriptPythonDocumentationHelper\',\n + \'ZSQLMethodDocumentationHelper\']\n + if root_class_name == "ERP5SiteDocumentationHelper" and section_class_name in class_iterate_list:\n for sub_child_uri in child_uri.uri_list:\n - sub_child_object = context.getDocumentationHelper(class_name, sub_child_uri)\n + sub_child_object = context.getDocumentationHelper(section_class_name, sub_child_uri)\n for sub_child_section in sub_child_object.getSectionList(): \n - if sub_child_section.class_name == \'DCWorkflowScriptDocumentationHelper\':\n + if sub_child_section.class_name in sub_displayed_class: \n class_name = sub_child_section.class_name\n results=context.DocumentationHelper_getDocumentationSectionListParams(class_name,\n sub_child_section.uri_list, "%s:" % sub_child_object.getId())\n @@ -311,6 +318,9 @@ return result\n <string>sub_child_uri</string> <string>getattr</string> <string>child_uri_title</string> + <string>class_iterate_list</string> + <string>section_class_name</string> + <string>sub_displayed_class</string> <string>sub_child_object</string> <string>sub_child_section</string> <string>append</string> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionListParams.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionListParams.xml index b34855a277b290f68ef0e46610d5099143a96c05..06d1edf54c05c343971ed39b7fcbdb32e6ec18f2 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionListParams.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionListParams.xml @@ -62,7 +62,11 @@ REQUEST.set(\'is_documentation_report\', True)\n sub_result = []\n propertysheet_list = []\n class_method_list = []\n -if class_name == \'DCWorkflowScriptDocumentationHelper\':\n +sub_displayed_class = [\'DCWorkflowScriptDocumentationHelper\',\n + \'PageTemplateDocumentationHelper\',\n + \'ScriptPythonDocumentationHelper\',\n + \'ZSQLMethodDocumentationHelper\']\n +if class_name in sub_displayed_class:\n level=6\n else:\n level=5\n @@ -149,6 +153,7 @@ return (sub_result,class_method_list,propertysheet_list)\n <string>sub_result</string> <string>propertysheet_list</string> <string>class_method_list</string> + <string>sub_displayed_class</string> <string>level</string> <string>_getiter_</string> <string>uri</string> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/allowed_content_type_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/allowed_content_type_listbox.xml index d55cb2ed338f1c69d8fce3f241f1f7c5d92061e5..7a7fa35126bb7ef642c74c81b129c2089ce3f619 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/allowed_content_type_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/allowed_content_type_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.PortalTypeDocumentationHelper_getAllowedContentTypeList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/base_category_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/base_category_listbox.xml index 257c7b21cd608be33866bd736a655800a1331174..199c0407cfcdf963251398e8185712c330e19d91 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/base_category_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/base_category_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.PortalTypeDocumentationHelper_getBaseCategoryList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/class_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/class_method_listbox.xml index 646b326d149c5c729dc4692741e50bcdde6f47ec..4b9f224f53ad7da04c20498e92d855dae136a2bd 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/class_method_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/class_method_listbox.xml @@ -113,7 +113,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here. PortalTypeDocumentationHeper_getListboxVisibilityFromContext()</string> </value> + <value> <string>python: here. PortalTypeDocumentationHeper_getListboxVisibilityFromContext() and context.DocumentationHelper_getClassMethodList() != []</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/hidden_content_type_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/hidden_content_type_listbox.xml index 1ce327865f7cb4eb677ef250333f9f8bde79647b..40a3a3da065b7e0b64d49b6491c1d58da4426cb1 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/hidden_content_type_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/hidden_content_type_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -94,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -105,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -138,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.PortalTypeDocumentationHelper_getHiddenContentTypeList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_action_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_action_listbox.xml index 266afb5936664337d223397bf8d6790145515a08..d03d129d02df0c853e92e75cd65083e4320b8c37 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_action_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_action_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -114,6 +145,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -125,7 +160,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -178,6 +213,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.PortalTypeDocumentationHelper_getActionList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_role_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_role_listbox.xml index 541c43096947e7d182a3b493a49a1ef97dbd25fc..239c9ed8c5e1312f9757b36e3332b3a140b52a73 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_role_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/portal_type_role_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -60,6 +61,20 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,10 +83,26 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -102,6 +133,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -113,7 +148,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -154,6 +189,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.PortalTypeDocumentationHelper_getRoleList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/property_sheet_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/property_sheet_listbox.xml index c45084741743fbcf87bd4aa7e7910bd35ebf91d9..a6af32de5142f4fb8c058301d137f6ce791246aa 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/property_sheet_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/property_sheet_listbox.xml @@ -19,6 +19,7 @@ <string>list_method</string> <string>selection_name</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -68,6 +69,12 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -118,6 +125,10 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_view_mode_listbox</string> </value> @@ -129,7 +140,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -162,6 +173,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.PortalTypeDocumentationHelper_getPropertySheetList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="Method" module="Products.Formulator.MethodField"/> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/workflow_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/workflow_method_listbox.xml index 238c171db1de68e78b282aa3be4457f6643d29d1..6978d711222faf16ec0d1952c5e2a374637659ea 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/workflow_method_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeDocumentationHelper_view/workflow_method_listbox.xml @@ -13,7 +13,9 @@ <key> <string>delegated_list</string> </key> <value> <list> + <string>list_method</string> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -55,6 +57,12 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -63,10 +71,18 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -74,6 +90,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>workflow_method_listbox</string> </value> @@ -82,6 +102,12 @@ <key> <string>form_id</string> </key> <value> <string>DocumentationHelper_viewFieldLibrary</string> </value> </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> @@ -103,4 +129,36 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DocumentationHelper_getWorkflowMethodList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>DocumentationHelper_getWorkflowMethodList</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/class_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/class_method_listbox.xml index 646b326d149c5c729dc4692741e50bcdde6f47ec..6aaf1141a34a81f47153ea3f21ea6206fb4955cd 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/class_method_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/class_method_listbox.xml @@ -113,7 +113,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here. PortalTypeDocumentationHeper_getListboxVisibilityFromContext()</string> </value> + <value> <string>python: here.PortalTypeDocumentationHeper_getListboxVisibilityFromContext() and context.DocumentationHelper_getClassMethodList() != []</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/workflow_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/workflow_method_listbox.xml index 37c643aea92cd116df382ea11911a6c959d335d7..7310a3275d4e428f61381c663eabee219a74d5d1 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/workflow_method_listbox.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PortalTypeInstanceDocumentationHelper_view/workflow_method_listbox.xml @@ -14,6 +14,7 @@ <value> <list> <string>url_columns</string> + <string>enabled</string> </list> </value> </item> @@ -55,6 +56,12 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -67,6 +74,10 @@ <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -74,6 +85,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>workflow_method_listbox</string> </value> @@ -103,4 +118,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.DocumentationHelper_getWorkflowMethodList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml new file mode 100644 index 0000000000000000000000000000000000000000..966d02933ca188cd0dc857e5fd107064dbb236ca --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml @@ -0,0 +1,135 @@ +<?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>meta_type=\'ERP5 Form\'\n +skin_list = context.getFileIdList(meta_type=meta_type)\n +base_uri = context.getURI()\n +result = map(\n + lambda x: context.asContext(id=x, base_uri=base_uri,\n + meta_type=meta_type),\n + skin_list)\n +return result\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>meta_type</string> + <string>_getattr_</string> + <string>context</string> + <string>skin_list</string> + <string>base_uri</string> + <string>map</string> + <string>result</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getERP5FormList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormUrl.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormUrl.xml new file mode 100644 index 0000000000000000000000000000000000000000..42e49b2db838b6b54ce202266d1f2531f65cb0b7 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormUrl.xml @@ -0,0 +1,147 @@ +<?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 encoding="cdata"><![CDATA[ + +meta_type = brain.meta_type\n +portal_url = context.getPortalObject().portal_classes.absolute_url()\n +o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n +\n +id = brain.id\n +if callable(id): id = id()\n +uri = brain.base_uri + \'/\' + id\n +\n +return "%s/getDocumentationHelper?uri=%s&class_name=ERP5FormDocumentationHelper" % \\\n + (portal_url, uri)\n + + +]]></string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>brain=None, selection=None, **kwd</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>brain</string> + <string>selection</string> + <string>kwd</string> + <string>_getattr_</string> + <string>meta_type</string> + <string>context</string> + <string>portal_url</string> + <string>o</string> + <string>id</string> + <string>callable</string> + <string>uri</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getERP5FormUrl</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml new file mode 100644 index 0000000000000000000000000000000000000000..0573cb7326dcbe24834fbe77d026bfb84b2d2753 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml @@ -0,0 +1,135 @@ +<?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>meta_type=\'Page Template\'\n +skin_list = context.getFileIdList(meta_type=meta_type)\n +base_uri = context.getURI()\n +result = map(\n + lambda x: context.asContext(id=x, base_uri=base_uri,\n + meta_type=meta_type),\n + skin_list)\n +return result\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>meta_type</string> + <string>_getattr_</string> + <string>context</string> + <string>skin_list</string> + <string>base_uri</string> + <string>map</string> + <string>result</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getPageTemplateList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateUrl.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateUrl.xml new file mode 100644 index 0000000000000000000000000000000000000000..6725532c82a6bf0495fd6bdad26ea46c69802580 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateUrl.xml @@ -0,0 +1,147 @@ +<?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 encoding="cdata"><![CDATA[ + +meta_type = brain.meta_type\n +portal_url = context.getPortalObject().portal_classes.absolute_url()\n +o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n +\n +id = brain.id\n +if callable(id): id = id()\n +uri = brain.base_uri + \'/\' + id\n +\n +return "%s/getDocumentationHelper?uri=%s&class_name=PageTemplateDocumentationHelper" % \\\n + (portal_url, uri)\n + + +]]></string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>brain=None, selection=None, **kwd</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>brain</string> + <string>selection</string> + <string>kwd</string> + <string>_getattr_</string> + <string>meta_type</string> + <string>context</string> + <string>portal_url</string> + <string>o</string> + <string>id</string> + <string>callable</string> + <string>uri</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getPageTemplateUrl</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getReportSectionList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getReportSectionList.xml index 02e249ef71a81725350040119b13a4dd22038bf7..af78df28f1fb41f050d5064f17aaf91a75710738 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getReportSectionList.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getReportSectionList.xml @@ -54,7 +54,8 @@ <item> <key> <string>_body</string> </key> <value> <string>from Products.ERP5Form.Report import ReportSection\n -result = []\n +\n +#[\'ERP5 Form\', \'ERP5 OOo Template\', \'ERP5 PDF Template\', \'ERP5 Report\', \'Image\', \'Page Template\', \'Script (Python)\', \'Z SQL Method\']\n \n for meta_type in context.getMetaTypeList():\n result.append(\n @@ -111,11 +112,11 @@ return result\n <string>kw</string> <string>Products.ERP5Form.Report</string> <string>ReportSection</string> - <string>result</string> <string>_getiter_</string> <string>_getattr_</string> <string>context</string> <string>meta_type</string> + <string>result</string> </tuple> </value> </item> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getScriptPythonList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getScriptPythonList.xml new file mode 100644 index 0000000000000000000000000000000000000000..520a4cd07dffa3600f5fa64c63b00b8912c848f9 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getScriptPythonList.xml @@ -0,0 +1,135 @@ +<?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>meta_type=\'Script (Python)\'\n +skin_list = context.getFileIdList(meta_type=meta_type)\n +base_uri = context.getURI()\n +result = map(\n + lambda x: context.asContext(id=x, base_uri=base_uri,\n + meta_type=meta_type),\n + skin_list)\n +return result\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>meta_type</string> + <string>_getattr_</string> + <string>context</string> + <string>skin_list</string> + <string>base_uri</string> + <string>map</string> + <string>result</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getScriptPythonList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getScriptPythonUrl.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getScriptPythonUrl.xml new file mode 100644 index 0000000000000000000000000000000000000000..19e07ec945719c74a200c6683424cb4da6f375c8 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getScriptPythonUrl.xml @@ -0,0 +1,147 @@ +<?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 encoding="cdata"><![CDATA[ + +meta_type = brain.meta_type\n +portal_url = context.getPortalObject().portal_classes.absolute_url()\n +o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n +\n +id = brain.id\n +if callable(id): id = id()\n +uri = brain.base_uri + \'/\' + id\n +\n +return "%s/getDocumentationHelper?uri=%s&class_name=ScriptPythonDocumentationHelper" % \\\n + (portal_url, uri)\n + + +]]></string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>brain=None, selection=None, **kwd</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>brain</string> + <string>selection</string> + <string>kwd</string> + <string>_getattr_</string> + <string>meta_type</string> + <string>context</string> + <string>portal_url</string> + <string>o</string> + <string>id</string> + <string>callable</string> + <string>uri</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getScriptPythonUrl</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getZSQLMethodList.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getZSQLMethodList.xml new file mode 100644 index 0000000000000000000000000000000000000000..92dde5320e4424fadcb28372a556235f22e7b627 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getZSQLMethodList.xml @@ -0,0 +1,135 @@ +<?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>meta_type=\'Z SQL Method\'\n +skin_list = context.getFileIdList(meta_type=meta_type)\n +base_uri = context.getURI()\n +result = map(\n + lambda x: context.asContext(id=x, base_uri=base_uri,\n + meta_type=meta_type),\n + skin_list)\n +return result\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>meta_type</string> + <string>_getattr_</string> + <string>context</string> + <string>skin_list</string> + <string>base_uri</string> + <string>map</string> + <string>result</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getZSQLMethodList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getZSQLMethodUrl.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getZSQLMethodUrl.xml new file mode 100644 index 0000000000000000000000000000000000000000..de19dcc1e1d76a8e712133d2878be05e8f7bf0d9 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getZSQLMethodUrl.xml @@ -0,0 +1,147 @@ +<?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 encoding="cdata"><![CDATA[ + +meta_type = brain.meta_type\n +portal_url = context.getPortalObject().portal_classes.absolute_url()\n +o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n +\n +id = brain.id\n +if callable(id): id = id()\n +uri = brain.base_uri + \'/\' + id\n +\n +return "%s/getDocumentationHelper?uri=%s&class_name=ZSQLMethodDocumentationHelper" % \\\n + (portal_url, uri)\n + + +]]></string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>brain=None, selection=None, **kwd</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>brain</string> + <string>selection</string> + <string>kwd</string> + <string>_getattr_</string> + <string>meta_type</string> + <string>context</string> + <string>portal_url</string> + <string>o</string> + <string>id</string> + <string>callable</string> + <string>uri</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SkinFolderDocumentationHelper_getZSQLMethodUrl</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view.xml index db9e5073448ec3eda7364365ad49183102004720..7ca0088f338e84c18512be3bbf2ead05a1035fee 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view.xml @@ -3,7 +3,7 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ERP5Report" module="Products.ERP5Form.Report"/> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> <tuple/> </tuple> </pickle> @@ -40,10 +40,6 @@ <key> <string>action</string> </key> <value> <string></string> </value> </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> <item> <key> <string>encoding</string> </key> <value> <string>UTF-8</string> </value> @@ -71,7 +67,12 @@ <item> <key> <string>bottom</string> </key> <value> - <list/> + <list> + <string>erp5_form_listbox</string> + <string>zsql_method_listbox</string> + <string>page_template_listbox</string> + <string>script_python_listbox</string> + </list> </value> </item> <item> @@ -117,14 +118,6 @@ <key> <string>name</string> </key> <value> <string>SkinFolderDocumentationHelper_view</string> </value> </item> - <item> - <key> <string>pt</string> </key> - <value> <string>report_view</string> </value> - </item> - <item> - <key> <string>report_method</string> </key> - <value> <string>SkinFolderDocumentationHelper_getReportSectionList</string> </value> - </item> <item> <key> <string>row_length</string> </key> <value> <int>4</int> </value> @@ -141,10 +134,6 @@ <key> <string>unicode_mode</string> </key> <value> <int>0</int> </value> </item> - <item> - <key> <string>update_action</string> </key> - <value> <string></string> </value> - </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..2f7764d5be800d68954203bfcb17c9e7d1125934 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml @@ -0,0 +1,207 @@ +<?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>title</string> + <string>description</string> + <string>columns</string> + <string>list_method</string> + <string>selection_name</string> + <string>url_columns</string> + <string>enabled</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_form_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>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <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>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</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> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>erp5_form_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>ERP5 Form</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list> + <tuple> + <string>id</string> + <string>SkinFolderDocumentationHelper_getERP5FormUrl</string> + </tuple> + </list> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.SkinFolderDocumentationHelper_getERP5FormList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>SkinFolderDocumentationHelper_getERP5FormList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..79dad261e931489fea75ce59abb37fe65ceca782 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml @@ -0,0 +1,207 @@ +<?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>title</string> + <string>description</string> + <string>columns</string> + <string>list_method</string> + <string>selection_name</string> + <string>url_columns</string> + <string>enabled</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>page_template_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>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <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>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</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> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>page_template_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>Page Template</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list> + <tuple> + <string>id</string> + <string>SkinFolderDocumentationHelper_getPageTemplateUrl</string> + </tuple> + </list> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.SkinFolderDocumentationHelper_getPageTemplateList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>SkinFolderDocumentationHelper_getPageTemplateList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/script_python_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/script_python_listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..75aaf322beec5f2620cbc8f88713425505e0554a --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/script_python_listbox.xml @@ -0,0 +1,207 @@ +<?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>title</string> + <string>description</string> + <string>columns</string> + <string>list_method</string> + <string>selection_name</string> + <string>url_columns</string> + <string>enabled</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>script_python_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>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <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>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</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> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>script_python_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>Script (Python)</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list> + <tuple> + <string>id</string> + <string>SkinFolderDocumentationHelper_getScriptPythonUrl</string> + </tuple> + </list> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.SkinFolderDocumentationHelper_getScriptPythonList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>SkinFolderDocumentationHelper_getScriptPythonList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/zsql_method_listbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/zsql_method_listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..5ebf7b9ecbcf729b7512c0a24bdf657f9356dd16 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/zsql_method_listbox.xml @@ -0,0 +1,207 @@ +<?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>title</string> + <string>description</string> + <string>columns</string> + <string>list_method</string> + <string>selection_name</string> + <string>url_columns</string> + <string>enabled</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>zsql_method_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>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <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>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</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> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>zsql_method_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>Z SQL Method</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list> + <tuple> + <string>id</string> + <string>SkinFolderDocumentationHelper_getZSQLMethodUrl</string> + </tuple> + </list> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: context.SkinFolderDocumentationHelper_getZSQLMethodList() != []</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>SkinFolderDocumentationHelper_getZSQLMethodList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ZSQLMethodDocumentationHelper_view/my_max_rows.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ZSQLMethodDocumentationHelper_view/my_max_rows.xml index c6a2433f4cd09541448417ab2dde013f7dbc0e24..d75399f1238450368706a8147afd7d17e25b4204 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ZSQLMethodDocumentationHelper_view/my_max_rows.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ZSQLMethodDocumentationHelper_view/my_max_rows.xml @@ -143,7 +143,9 @@ </item> <item> <key> <string>enabled</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>external_validator</string> </key> @@ -218,7 +220,7 @@ </item> <item> <key> <string>enabled</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>external_validator</string> </key> @@ -278,4 +280,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: not request.get(\'is_documentation_report\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_documentation/bt/change_log b/bt5/erp5_documentation/bt/change_log index 46fe37b7e7a783d4bf0a7f7edadff6e20498e53a..3939dfca422b85ecde659bf778b09757361ef60d 100644 --- a/bt5/erp5_documentation/bt/change_log +++ b/bt5/erp5_documentation/bt/change_log @@ -1,3 +1,11 @@ +2008-09-27: mayoro +- adding ERP5 Forms and python scripts for documenting skin_folder correctly +- removing ERP5 Report Form for previous documentation of skin folder +- removing title wich was just the name of the action on worklist workflow because description is enought +- displaying whole python scripts, z sql methods and page templates in ODT mode +- disable all empty listbox in html and odt mode + + 2008-09-20: mayoro - Adding forms for the new class of documentation BaseCategoryDocumentationHelper - Updating links concerning base categories diff --git a/bt5/erp5_documentation/bt/revision b/bt5/erp5_documentation/bt/revision index b5db9c417a229cf02976899b74f8b6fc87712919..c2807f7f3cebe94f4ce652ca42b80dcc5853fe2d 100644 --- a/bt5/erp5_documentation/bt/revision +++ b/bt5/erp5_documentation/bt/revision @@ -1 +1 @@ -139 \ No newline at end of file +140 \ No newline at end of file