[Erp5-report] r10011 - /erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_t...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 15 17:55:54 CEST 2006
Author: kevin
Date: Fri Sep 15 17:55:53 2006
New Revision: 10011
URL: http://svn.erp5.org?rev=10011&view=rev
Log:
Reset the Foo_viewRelationField listbox
Modified:
erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
Modified: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml?rev=10011&r1=10010&r2=10011&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml (original)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml Fri Sep 15 17:55:53 2006
@@ -76,7 +76,7 @@
module.manage_delObjects(list(module.objectIds()))\n
module.setLastId(1)\n
\n
-# Reset the form.\n
+# Reset the foo module listbox\n
form = context.FooModule_viewFooList\n
result = form.listbox.ListBox_setPropertyList()\n
\n
@@ -85,6 +85,27 @@
# sort = [], stat_columns = [], url_columns = [],\n
# list_method = \'\', count_method = \'\',\n
# stat_method = \'\', search = \'\', select = \'\', list_action = \'list\'))\n
+\n
+# Reset the Foo_viewRelationField listbox (modified by listbox_zuite/testRedirect UI test)\n
+form = context.Foo_viewRelationField\n
+default_columns = \'\\n\'.join(( \'id | ID\'\n
+ , \'title | Title\'\n
+ , \'quantity | Quantity\'\n
+ ))\n
+result = form.listbox.ListBox_setPropertyList( \n
+ field_title = \'Foo Lines\'\n
+ , field_columns = default_columns\n
+ , field_sort = \'id\'\n
+ , field_editable_columns = default_columns\n
+ , field_list_method = \'objectValues\'\n
+ , field_count_method = \'\'\n
+ , field_selection_name = \'foo_line_selection\'\n
+ , field_portal_types = \'\'\n
+ , field_search = \'\'\n
+ , field_select = \'\'\n
+ , field_list_action = \'Folder_viewContentList\'\n
+ , field_editable = \'checked\'\n
+ )\n
\n
# Reset the selection.\n
def resetSelection(selection_name):\n
@@ -157,6 +178,7 @@
<string>list</string>
<string>form</string>
<string>result</string>
+ <string>default_columns</string>
<string>resetSelection</string>
</tuple>
</value>
More information about the Erp5-report
mailing list