From c69f9ca008eead59a916aad078951f42d5098966 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Wed, 19 May 2010 12:26:08 +0000 Subject: [PATCH] add listbox_int_index field to ease the reordering of websections git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35459 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_web/WebSite_view.xml | 1 + .../erp5_web/WebSite_view/listbox.xml | 4 + .../WebSite_view/listbox_int_index.xml | 118 ++++++++++++++++++ bt5/erp5_web/bt/revision | 2 +- 4 files changed, 124 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox_int_index.xml diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view.xml index c17db53f07..2f61f4afc2 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view.xml @@ -115,6 +115,7 @@ <string>my_authorization_forced</string> <string>my_site_map_section_parent</string> <string>my_site_map_document_parent</string> + <string>listbox_int_index</string> </list> </value> </item> diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox.xml index cb1a0dc955..c49910b891 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox.xml @@ -117,6 +117,10 @@ <string>creation_date</string> <string>Creation Date</string> </tuple> + <tuple> + <string>int_index</string> + <string>Index</string> + </tuple> <tuple> <string>modification_date</string> <string>Modification Date</string> diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox_int_index.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox_int_index.xml new file mode 100644 index 0000000000..27275edd67 --- /dev/null +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_view/listbox_int_index.xml @@ -0,0 +1,118 @@ +<?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/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>listbox_int_index</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </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>field_id</string> </key> + <value> <string>listbox_int_index</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Entity_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> + <tuple> + <string>Products.Formulator.TALESField</string> + <string>TALESMethod</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>here/portal_categories/activity/getCategoryChildTranslatedLogicalPathItemList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 397787a80e..4d190201b6 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -949 \ No newline at end of file +950 \ No newline at end of file -- 2.30.9