Commit 95a16751 authored by Mayoro Diagne's avatar Mayoro Diagne

2008-10-11: mayoro

- adding column description in listbox of Page Template and ERP5 Form for SkinFolderDocumentationHelper_view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24154 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f35f09f
...@@ -180,7 +180,6 @@ for section in section_list:\n ...@@ -180,7 +180,6 @@ for section in section_list:\n
\'SkinFolderDocumentationHelper\']\n \'SkinFolderDocumentationHelper\']\n
section_class_name = class_name \n section_class_name = class_name \n
sub_displayed_class = [\'DCWorkflowScriptDocumentationHelper\',\n sub_displayed_class = [\'DCWorkflowScriptDocumentationHelper\',\n
\'PageTemplateDocumentationHelper\',\n
\'ScriptPythonDocumentationHelper\',\n \'ScriptPythonDocumentationHelper\',\n
\'ZSQLMethodDocumentationHelper\']\n \'ZSQLMethodDocumentationHelper\']\n
if root_class_name == "ERP5SiteDocumentationHelper" and section_class_name in class_iterate_list:\n if root_class_name == "ERP5SiteDocumentationHelper" and section_class_name in class_iterate_list:\n
......
...@@ -73,7 +73,9 @@ ...@@ -73,7 +73,9 @@
<item> <item>
<key> <string>center</string> </key> <key> <string>center</string> </key>
<value> <value>
<list/> <list>
<string>my_description</string>
</list>
</value> </value>
</item> </item>
<item> <item>
......
<?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>default</string>
<string>enabled</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_description</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>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</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>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_description</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>DocumentationHelper_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </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>here/getDescription</string> </value>
</item>
</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\',False)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -75,7 +75,9 @@ ...@@ -75,7 +75,9 @@
<item> <item>
<key> <string>center</string> </key> <key> <string>center</string> </key>
<value> <value>
<list/> <list>
<string>my_description</string>
</list>
</value> </value>
</item> </item>
<item> <item>
......
<?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>default</string>
<string>enabled</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_description</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>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</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>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_description</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>DocumentationHelper_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </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>here/getDescription</string> </value>
</item>
</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\',False)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>meta_type=\'ERP5 Form\'\n <value> <string>meta_type=\'ERP5 Form\'\n
skin_list = context.getFileIdList(meta_type=meta_type)\n skin_list = context.getFileItemList(meta_type=meta_type)\n
base_uri = context.getURI()\n base_uri = context.getURI()\n
result = map(\n result = map(\n
lambda x: context.asContext(id=x, base_uri=base_uri,\n lambda x: context.asContext(id=x[0], description=x[2], base_uri=base_uri,\n
meta_type=meta_type),\n meta_type=meta_type),\n
skin_list)\n skin_list)\n
return result\n return result\n
......
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>meta_type=\'Page Template\'\n <value> <string>meta_type=\'Page Template\'\n
skin_list = context.getFileIdList(meta_type=meta_type)\n skin_list = context.getFileItemList(meta_type=meta_type)\n
base_uri = context.getURI()\n base_uri = context.getURI()\n
result = map(\n result = map(\n
lambda x: context.asContext(id=x, base_uri=base_uri,\n lambda x: context.asContext(id=x[0], description=x[2] ,base_uri=base_uri,\n
meta_type=meta_type),\n meta_type=meta_type),\n
skin_list)\n skin_list)\n
return result\n return result\n
......
...@@ -118,6 +118,10 @@ ...@@ -118,6 +118,10 @@
<string>id</string> <string>id</string>
<string>Id</string> <string>Id</string>
</tuple> </tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -163,6 +167,10 @@ ...@@ -163,6 +167,10 @@
<string>id</string> <string>id</string>
<string>SkinFolderDocumentationHelper_getERP5FormUrl</string> <string>SkinFolderDocumentationHelper_getERP5FormUrl</string>
</tuple> </tuple>
<tuple>
<string>description</string>
<string>SkinFolderDocumentationHelper_getERP5FormUrl</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -118,6 +118,10 @@ ...@@ -118,6 +118,10 @@
<string>id</string> <string>id</string>
<string>Id</string> <string>Id</string>
</tuple> </tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -163,6 +167,10 @@ ...@@ -163,6 +167,10 @@
<string>id</string> <string>id</string>
<string>SkinFolderDocumentationHelper_getPageTemplateUrl</string> <string>SkinFolderDocumentationHelper_getPageTemplateUrl</string>
</tuple> </tuple>
<tuple>
<string>description</string>
<string>SkinFolderDocumentationHelper_getPageTemplateUrl</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
149 150
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment