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
No related merge requests found
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<tuple/>
</tuple>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
</pickle>
<pickle>
<dictionary>
......@@ -200,7 +197,7 @@
</item>
<item>
<key> <string>edit_form_id</string> </key>
<value> <string>ERP5Site_viewPersonListGadgetPreferenceDialog</string> </value>
<value> <string>Base_viewBasicGadgetPreferenceDialog</string> </value>
</item>
<item>
<key> <string>gadget_type</string> </key>
......@@ -284,7 +281,7 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
......@@ -292,7 +289,7 @@
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<tuple/>
</tuple>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
</pickle>
<pickle>
<dictionary>
......@@ -118,9 +115,7 @@
</item>
<item>
<key> <string>edit_form_id</string> </key>
<value>
<none/>
</value>
<value> <string>Base_viewBasicGadgetPreferenceDialog</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......@@ -165,7 +160,7 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
......@@ -173,7 +168,7 @@
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
......
......@@ -39,7 +39,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Auto generated form</string> </value>
<value> <string>Basic gadget preferences edit form.</string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
......@@ -109,7 +109,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_viewPersonListGadgetPreferenceDialog</string> </value>
<value> <string>Base_viewBasicGadgetPreferenceDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -143,6 +143,10 @@
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -11,6 +11,7 @@
<value>
<list>
<string>default</string>
<string>description</string>
<string>items</string>
<string>title</string>
</list>
......@@ -83,6 +84,10 @@
<key> <string>default</string> </key>
<value> <string>10</string> </value>
</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>
<key> <string>field_id</string> </key>
<value> <string>my_gadget_preferences_list_field</string> </value>
......@@ -103,7 +108,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Show items by page</string> </value>
<value> <string>Number of lines displayed (if any)</string> </value>
</item>
</dictionary>
</value>
......
588
\ No newline at end of file
589
\ 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