Commit 0b69d6b4 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Initial proxyfication of forms.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16661 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f93318c
......@@ -4,14 +4,28 @@
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>FileField</string>
<string>Products.ERP5Form.ProxyField</string>
<string>ProxyField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>your_file</string> </value>
......@@ -32,51 +46,15 @@
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
......@@ -87,51 +65,15 @@
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
......@@ -142,51 +84,19 @@
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
<key> <string>field_id</string> </key>
<value> <string>my_file</string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
<key> <string>form_id</string> </key>
<value> <string>Document_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>title</string> </key>
<value> <string>File to upload</string> </value>
</item>
</dictionary>
......
......@@ -62,6 +62,7 @@
<value>
<list>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -77,6 +78,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ProxyField</string>
<string>ProxyField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_thumbnail</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>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_thumbnail</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>DocumentModule_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>
</ZopeData>
......@@ -53,7 +53,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>OOoDocument_getSnapshot</string> </value>
<value> <string>Base_doSelect</string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
......@@ -67,7 +67,8 @@
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -76,9 +77,19 @@
<value>
<dictionary>
<item>
<key> <string>left</string> </key>
<key> <string>bottom</string> </key>
<value>
<list/>
<list>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
</dictionary>
......@@ -86,7 +97,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>OOoDocument_viewSnapshotDialog</string> </value>
<value> <string>DocumentModule_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -94,11 +105,15 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>OOoDocument_getSnapshotDialog</string> </value>
<value> <string>DocumentModule_viewDocumentList</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
<value> <string>form_list</string> </value>
</item>
<item>
<key> <string>rid</string> </key>
<value> <int>-1722436574</int> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -110,7 +125,13 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Download Document Snapshot</string> </value>
<value> <string>Document List</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -68,14 +68,14 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string># XXX results should be cached as volatile attributes\n
\n
"""\n
<value> <string>"""\n
Get a list of related documents; wiki relations use API methods, explicit relations\n
(predecessor etc) get a list of related docs and return the newest (default)\n
version of each of them.\n
\'all\' returns a combined set of all related docs.\n
\n
"""\n
# XXX results should be cached as volatile attributes\n
# XXX-JPS should probably be moved to core API of document\n
# with dynamic method selection\n
# getWikiSuccessorValueList = get + upperCase(wiki_successor) + ValueList\n
......
......@@ -61,16 +61,18 @@
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
<value> <string>multipart/form-data</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left (Document Reference)</string>
<string>right (Publication Information)</string>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -79,30 +81,43 @@
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<key> <string>center</string> </key>
<value>
<list>
<string>my_description</string>
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<key> <string>left</string> </key>
<value>
<list>
<string>my_description</string>
<string>my_contributor_title_list</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<key> <string>left (Document Reference)</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_url_string</string>
<string>my_url_protocol</string>
<string>my_option_recursively</string>
<string>my_recursion_depth</string>
<string>external_processing_status_message</string>
<string>my_translated_validation_state_title</string>
<string>my_short_title</string>
<string>my_reference</string>
<string>my_version</string>
<string>my_language</string>
<string>my_int_index</string>
<string>my_file</string>
<string>my_source_reference</string>
<string>my_translated_portal_type</string>
<string>my_translated_external_processing_state_title</string>
<string>my_revision</string>
<string>my_follow_up_title</string>
</list>
</value>
</item>
......@@ -110,10 +125,20 @@
<key> <string>right</string> </key>
<value>
<list>
<string>link</string>
<string>my_follow_up_title</string>
<string>my_subject_list</string>
</list>
</value>
</item>
<item>
<key> <string>right (Publication Information)</string> </key>
<value>
<list>
<string>my_classification</string>
<string>my_dms_category_list</string>
<string>my_group_list</string>
<string>my_site_list</string>
<string>my_function_list</string>
<string>my_publication_section_list</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......@@ -122,7 +147,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ExternalDocument_view</string> </value>
<value> <string>Document_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -130,16 +155,12 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Url_view</string> </value>
<value> <string>Base_viewClassification</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>rid</string> </key>
<value> <int>-1722436622</int> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
......@@ -150,13 +171,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Url</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
<value> <string>Document</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ProxyField</string>
<string>ProxyField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_description</string> </value>
</item>