Commit 877f1d6f authored by Ivan Tyagov's avatar Ivan Tyagov

Proxify properly "Assigned Members" & "Latest content" gadgets. Clean up KM's field library.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39603 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1569568b
...@@ -103,9 +103,7 @@ ...@@ -103,9 +103,7 @@
<item> <item>
<key> <string>right column (Document Relations)</string> </key> <key> <string>right column (Document Relations)</string> </key>
<value> <value>
<list> <list/>
<string>document_related</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -136,8 +134,6 @@ ...@@ -136,8 +134,6 @@
<key> <string>right column (Toolbox)</string> </key> <key> <string>right column (Toolbox)</string> </key>
<value> <value>
<list> <list>
<string>assigned_member_listbox</string>
<string>latest_content_listbox</string>
<string>listbox</string> <string>listbox</string>
<string>listbox_creation_date</string> <string>listbox_creation_date</string>
<string>listbox_modification_date</string> <string>listbox_modification_date</string>
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
</item> </item>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<p> This gadget has been deprecated. You are advised to remove it from you pad.</p> <p> This gadget has been deprecated. You are advised to remove it from you pad.</p>
]]></string> </value> ]]></unicode> </value>
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
...@@ -52,9 +52,13 @@ ...@@ -52,9 +52,13 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Base_viewDeprecatedGadgetWarning</string> </value> <value> <string>Base_viewDeprecatedGadgetWarning</string> </value>
</item> </item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <unicode></unicode> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</item> </item>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<tal:block replace="nothing">\n <tal:block replace="nothing">\n
<!--\n <!--\n
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
\n \n
</div> </div>
]]></string> </value> ]]></unicode> </value>
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
...@@ -99,9 +99,13 @@ ...@@ -99,9 +99,13 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Base_viewDownloadWidget</string> </value> <value> <string>Base_viewDownloadWidget</string> </value>
</item> </item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <unicode></unicode> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/> <global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -63,6 +60,7 @@ ...@@ -63,6 +60,7 @@
<value> <value>
<list> <list>
<string>gadget</string> <string>gadget</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -75,6 +73,13 @@ ...@@ -75,6 +73,13 @@
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_modification_date</string> <string>listbox_modification_date</string>
</list> </list>
</value> </value>
......
...@@ -10,13 +10,20 @@ ...@@ -10,13 +10,20 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>columns</string>
<string>all_columns</string> <string>all_columns</string>
<string>search_columns</string> <string>columns</string>
<string>sort_columns</string> <string>count_method</string>
<string>search</string> <string>css_class</string>
<string>editable_columns</string> <string>editable_columns</string>
<string>enabled</string> <string>enabled</string>
<string>list_action</string>
<string>list_method</string>
<string>portal_types</string>
<string>search</string>
<string>search_columns</string>
<string>selection_name</string>
<string>sort_columns</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -111,6 +118,16 @@ ...@@ -111,6 +118,16 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string>hidden_label</string> </value>
</item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
...@@ -128,12 +145,33 @@ ...@@ -128,12 +145,33 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>assigned_member_listbox</string> </value> <value> <string>listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewKMFieldLibrary</string> </value> <value> <string>Base_viewKMFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>list_action</string> </key>
<value> <string>WebSection_redirectToMemberList</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
<string>Assignment</string>
<string>Assignment</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>search</string> </key> <key> <string>search</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
...@@ -153,6 +191,10 @@ ...@@ -153,6 +191,10 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>assigned_member_widget_selection</string> </value>
</item>
<item> <item>
<key> <string>sort_columns</string> </key> <key> <string>sort_columns</string> </key>
<value> <value>
...@@ -172,10 +214,40 @@ ...@@ -172,10 +214,40 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string>Assigned Members</string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>WebSection_countAssignmentList</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>WebSection_searchAssignmentList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -85,11 +82,11 @@ ...@@ -85,11 +82,11 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_date</string> </value> <value> <string>listbox_modification_date</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewKMFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
...@@ -18,9 +18,7 @@ ...@@ -18,9 +18,7 @@
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
<string>enabled</string> <string>enabled</string>
<string>list_action</string>
<string>list_method</string> <string>list_method</string>
<string>page_template</string>
<string>search</string> <string>search</string>
<string>search_columns</string> <string>search_columns</string>
<string>select</string> <string>select</string>
...@@ -142,26 +140,18 @@ ...@@ -142,26 +140,18 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>latest_content_listbox</string> </value> <value> <string>listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewKMFieldLibrary</string> </value> <value> <string>Base_viewKMFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>list_action</string> </key>
<value> <string>WebSection_redirectToMyContentList</string> </value>
</item>
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string>ListBox_asHTML</string> </value>
</item>
<item> <item>
<key> <string>search</string> </key> <key> <string>search</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -43,7 +40,7 @@ ...@@ -43,7 +40,7 @@
</item> </item>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<div class="gadget-website-browser"\n <div class="gadget-website-browser"\n
tal:define="\n tal:define="\n
...@@ -69,7 +66,7 @@ ...@@ -69,7 +66,7 @@
\n \n
]]></string> </value> ]]></unicode> </value>
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
...@@ -83,9 +80,13 @@ ...@@ -83,9 +80,13 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebSite_viewWebSiteBrowserGadget</string> </value> <value> <string>WebSite_viewWebSiteBrowserGadget</string> </value>
</item> </item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <unicode></unicode> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1646 1648
\ 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