Commit fd5758ca authored by Ivan Tyagov's avatar Ivan Tyagov

Add a basic gadget preference edit form and make all basic gadgets use it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39608 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67530e46
...@@ -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="Gadget" module="Products.ERP5.Document.Gadget"/>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -200,7 +197,7 @@ ...@@ -200,7 +197,7 @@
</item> </item>
<item> <item>
<key> <string>edit_form_id</string> </key> <key> <string>edit_form_id</string> </key>
<value> <string>ERP5Site_viewPersonListGadgetPreferenceDialog</string> </value> <value> <string>Base_viewBasicGadgetPreferenceDialog</string> </value>
</item> </item>
<item> <item>
<key> <string>gadget_type</string> </key> <key> <string>gadget_type</string> </key>
...@@ -284,7 +281,7 @@ ...@@ -284,7 +281,7 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
...@@ -292,7 +289,7 @@ ...@@ -292,7 +289,7 @@
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
......
...@@ -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="Gadget" module="Products.ERP5.Document.Gadget"/>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -118,9 +115,7 @@ ...@@ -118,9 +115,7 @@
</item> </item>
<item> <item>
<key> <string>edit_form_id</string> </key> <key> <string>edit_form_id</string> </key>
<value> <value> <string>Base_viewBasicGadgetPreferenceDialog</string> </value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -165,7 +160,7 @@ ...@@ -165,7 +160,7 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
...@@ -173,7 +168,7 @@ ...@@ -173,7 +168,7 @@
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Auto generated form</string> </value> <value> <string>Basic gadget preferences edit form.</string> </value>
</item> </item>
<item> <item>
<key> <string>edit_order</string> </key> <key> <string>edit_order</string> </key>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>ERP5Site_viewPersonListGadgetPreferenceDialog</string> </value> <value> <string>Base_viewBasicGadgetPreferenceDialog</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
...@@ -143,6 +143,10 @@ ...@@ -143,6 +143,10 @@
<key> <string>update_action</string> </key> <key> <string>update_action</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<value> <value>
<list> <list>
<string>default</string> <string>default</string>
<string>description</string>
<string>items</string> <string>items</string>
<string>title</string> <string>title</string>
</list> </list>
...@@ -83,6 +84,10 @@ ...@@ -83,6 +84,10 @@
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string>10</string> </value> <value> <string>10</string> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value> <string>Using this property you can set number of listbox lines in gadget.</string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_gadget_preferences_list_field</string> </value> <value> <string>my_gadget_preferences_list_field</string> </value>
...@@ -103,7 +108,7 @@ ...@@ -103,7 +108,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Show items by page</string> </value> <value> <string>Number of lines displayed (if any)</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
588 589
\ 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