[Erp5-report] r24154 - in /erp5/trunk/bt5/erp5_documentation: SkinTemplateItem/portal_skins...

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Oct 11 16:55:23 CEST 2008


Author: mayoro
Date: Sat Oct 11 16:55:23 2008
New Revision: 24154

URL: http://svn.erp5.org?rev=24154&view=rev
Log:
2008-10-11: mayoro
- adding column description in listbox of Page Template and ERP5 Form for SkinFolderDocumentationHelper_view

Added:
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view/my_description.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view/my_description.xml
Modified:
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml
    erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml
    erp5/trunk/bt5/erp5_documentation/bt/revision

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_getDocumentationSectionList.xml Sat Oct 11 16:55:23 2008
@@ -180,7 +180,6 @@
                               \'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

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view.xml Sat Oct 11 16:55:23 2008
@@ -73,7 +73,9 @@
                 <item>
                     <key> <string>center</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <string>my_description</string>
+                      </list>
                     </value>
                 </item>
                 <item>

Added: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view/my_description.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view/my_description.xml?rev=24154&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view/my_description.xml (added)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/ERP5FormDocumentationHelper_view/my_description.xml Sat Oct 11 16:55:23 2008
@@ -1,0 +1,148 @@
+<?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>

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view.xml Sat Oct 11 16:55:23 2008
@@ -75,7 +75,9 @@
                 <item>
                     <key> <string>center</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <string>my_description</string>
+                      </list>
                     </value>
                 </item>
                 <item>

Added: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view/my_description.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view/my_description.xml?rev=24154&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view/my_description.xml (added)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/PageTemplateDocumentationHelper_view/my_description.xml Sat Oct 11 16:55:23 2008
@@ -1,0 +1,148 @@
+<?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>

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getERP5FormList.xml Sat Oct 11 16:55:23 2008
@@ -54,10 +54,10 @@
         <item>
             <key> <string>_body</string> </key>
             <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
 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
                  skin_list)\n
 return result\n

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_getPageTemplateList.xml Sat Oct 11 16:55:23 2008
@@ -54,10 +54,10 @@
         <item>
             <key> <string>_body</string> </key>
             <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
 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
                  skin_list)\n
 return result\n

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/erp5_form_listbox.xml Sat Oct 11 16:55:23 2008
@@ -118,6 +118,10 @@
                           <string>id</string>
                           <string>Id</string>
                         </tuple>
+                        <tuple>
+                          <string>description</string>
+                          <string>Description</string>
+                        </tuple>
                       </list>
                     </value>
                 </item>
@@ -161,6 +165,10 @@
                       <list>
                         <tuple>
                           <string>id</string>
+                          <string>SkinFolderDocumentationHelper_getERP5FormUrl</string>
+                        </tuple>
+                        <tuple>
+                          <string>description</string>
                           <string>SkinFolderDocumentationHelper_getERP5FormUrl</string>
                         </tuple>
                       </list>

Modified: erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml (original)
+++ erp5/trunk/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/SkinFolderDocumentationHelper_view/page_template_listbox.xml Sat Oct 11 16:55:23 2008
@@ -118,6 +118,10 @@
                           <string>id</string>
                           <string>Id</string>
                         </tuple>
+                        <tuple>
+                          <string>description</string>
+                          <string>Description</string>
+                        </tuple>
                       </list>
                     </value>
                 </item>
@@ -161,6 +165,10 @@
                       <list>
                         <tuple>
                           <string>id</string>
+                          <string>SkinFolderDocumentationHelper_getPageTemplateUrl</string>
+                        </tuple>
+                        <tuple>
+                          <string>description</string>
                           <string>SkinFolderDocumentationHelper_getPageTemplateUrl</string>
                         </tuple>
                       </list>

Modified: erp5/trunk/bt5/erp5_documentation/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_documentation/bt/revision?rev=24154&r1=24153&r2=24154&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_documentation/bt/revision (original)
+++ erp5/trunk/bt5/erp5_documentation/bt/revision Sat Oct 11 16:55:23 2008
@@ -1,1 +1,1 @@
-149
+150




More information about the Erp5-report mailing list