Commit a53b6a70 authored by Łukasz Nowak's avatar Łukasz Nowak

- use more attributes of fields from base proxy libraries

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21935 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b10cac5a
...@@ -98,7 +98,6 @@ ...@@ -98,7 +98,6 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>listbox</string>
<string>my_comment</string> <string>my_comment</string>
<string>my_description</string> <string>my_description</string>
<string>my_resource_title</string> <string>my_resource_title</string>
...@@ -106,6 +105,7 @@ ...@@ -106,6 +105,7 @@
<string>my_title</string> <string>my_title</string>
<string>my_variation_base_category_list</string> <string>my_variation_base_category_list</string>
<string>my_translated_validation_state_title</string> <string>my_translated_validation_state_title</string>
<string>my_transformation_content_list_listbox</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -12,12 +12,7 @@ ...@@ -12,12 +12,7 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list/>
<string>description</string>
<string>whitespace_preserve</string>
<string>height</string>
<string>width</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -77,10 +72,6 @@ ...@@ -77,10 +72,6 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>description</string> </key>
<value> <string>Description of document</string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_description</string> </value> <value> <string>my_description</string> </value>
...@@ -89,22 +80,10 @@ ...@@ -89,22 +80,10 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>height</string> </key>
<value> <int>4</int> </value>
</item>
<item> <item>
<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>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>40</int> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -13,14 +13,9 @@ ...@@ -13,14 +13,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>catalog_index</string>
<string>title</string> <string>title</string>
<string>display_width</string>
<string>description</string> <string>description</string>
<string>default_module</string>
<string>portal_type</string> <string>portal_type</string>
<string>base_category</string>
<string>items</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -70,16 +65,10 @@ ...@@ -70,16 +65,10 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -94,25 +83,13 @@ ...@@ -94,25 +83,13 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>base_category</string> </key> <key> <string>default_module</string> </key>
<value> <string>resource</string> </value>
</item>
<item>
<key> <string>catalog_index</string> </key>
<value> <string>title</string> </value>
</item>
<item>
<key> <string>default_module</string> </key>
<value> <string>apparel_shape_module</string> </value> <value> <string>apparel_shape_module</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>The title of the main resource involved</string> </value> <value> <string>The title of the main resource involved</string> </value>
</item> </item>
<item>
<key> <string>display_width</string> </key>
<value> <int>40</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_relation_field</string> </value> <value> <string>my_relation_field</string> </value>
...@@ -147,22 +124,6 @@ ...@@ -147,22 +124,6 @@
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <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>REQUEST/relation_item_list</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
...@@ -13,12 +13,9 @@ ...@@ -13,12 +13,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>catalog_index</string>
<string>title</string> <string>title</string>
<string>default_module</string>
<string>portal_type</string>
<string>base_category</string> <string>base_category</string>
<string>items</string> <string>portal_type</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -68,12 +65,6 @@ ...@@ -68,12 +65,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>items</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -90,11 +81,7 @@ ...@@ -90,11 +81,7 @@
<value> <string>specialise</string> </value> <value> <string>specialise</string> </value>
</item> </item>
<item> <item>
<key> <string>catalog_index</string> </key> <key> <string>default_module</string> </key>
<value> <string>title</string> </value>
</item>
<item>
<key> <string>default_module</string> </key>
<value> <string>transformation_module</string> </value> <value> <string>transformation_module</string> </value>
</item> </item>
<item> <item>
......
...@@ -12,11 +12,7 @@ ...@@ -12,11 +12,7 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list/>
<string>description</string>
<string>required</string>
<string>display_width</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -76,14 +72,6 @@ ...@@ -76,14 +72,6 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>description</string> </key>
<value> <string>Title of the transformation</string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_title</string> </value> <value> <string>my_title</string> </value>
...@@ -92,10 +80,6 @@ ...@@ -92,10 +80,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>required</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<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>
......
...@@ -13,26 +13,22 @@ ...@@ -13,26 +13,22 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>domain_root_list</string>
<string>lines</string>
<string>all_editable_columns</string>
<string>title</string> <string>title</string>
<string>report_root_list</string> <string>columns</string>
<string>all_columns</string> <string>all_columns</string>
<string>selection_name</string> <string>search_columns</string>
<string>sort_columns</string> <string>sort_columns</string>
<string>columns</string> <string>selection_name</string>
<string>default_params</string>
<string>list_method</string>
<string>list_action</string>
<string>portal_types</string> <string>portal_types</string>
<string>search_columns</string> <string>default_params</string>
<string>domain_root_list</string>
<string>report_root_list</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox</string> </value> <value> <string>my_transformation_content_list_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -111,7 +107,7 @@ ...@@ -111,7 +107,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>all_editable_columns</string> </key> <key> <string>all_editable_columns</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
...@@ -168,20 +164,6 @@ ...@@ -168,20 +164,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>lines</string> </key>
<value> <int>30</int> </value>
</item>
<item>
<key> <string>list_action</string> </key>
<value> <string>Folder_viewContentList</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
...@@ -241,7 +223,7 @@ ...@@ -241,7 +223,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>transformed_resource_selection</string> </value> <value> <string>transformation_view_selection_name</string> </value>
</item> </item>
<item> <item>
<key> <string>sort_columns</string> </key> <key> <string>sort_columns</string> </key>
...@@ -280,20 +262,4 @@ ...@@ -280,20 +262,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -12,9 +12,7 @@ ...@@ -12,9 +12,7 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list/>
<string>default</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -55,12 +53,6 @@ ...@@ -55,12 +53,6 @@
<key> <string>tales</string> </key> <key> <string>tales</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -98,20 +90,4 @@ ...@@ -98,20 +90,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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:here.portal_workflow.getInfoFor(here, \'validation_state\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>size</string>
<string>items</string> <string>items</string>
</list> </list>
</value> </value>
...@@ -66,7 +65,7 @@ ...@@ -66,7 +65,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
...@@ -91,8 +90,10 @@ ...@@ -91,8 +90,10 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>items</string> </key>
<value> <int>5</int> </value> <value>
<list/>
</value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
127 129
\ 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