[Erp5-report] r16141 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 6 19:09:31 CEST 2007


Author: yo
Date: Thu Sep  6 19:09:31 2007
New Revision: 16141

URL: http://svn.erp5.org?rev=16141&view=rev
Log:
2007-09-06 yo
* Obtain a listbox with Form_getListbox instead of from a fixed localtion in configure_list_dialog and sort_list_dialog.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml?rev=16141&r1=16140&r2=16141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml Thu Sep  6 19:09:31 2007
@@ -90,13 +90,14 @@
         <table tal:define="selection_name request/selection_name;\n
                           base_form python: getattr(here, request[\'form_id\']);\n
                           groups base_form/get_groups;\n
-                          default_columns python: base_form.get_fields_in_group(groups[0])[0].get_value(\'columns\');\n
+                          listbox python: base_form.Form_getListbox();\n
+                          default_columns python: listbox.get_value(\'columns\');\n
                           columns python: here.portal_selections.getSelectionColumns(selection_name, REQUEST=request, columns=default_columns);\n
                           selected_stats  python: here.portal_selections.getSelectionStats(selection_name, REQUEST=request);\n
                           global row_index python: 0;\n
                           global row_keys python: [\'None\'];\n
                           global stats python: [\' \',\'count\',\'sum\',\'max\',\'min\',\'avg\'];\n
-                          all_columns python: base_form.get_fields_in_group(groups[0])[0].get_value(\'all_columns\')">\n
+                          all_columns python: listbox.get_value(\'all_columns\')">\n
           <tal:block tal:repeat="item columns">\n
             <tr tal:define="global row_index python:row_index+1;\n
                             dummy python:row_keys.append(item[0])"\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml?rev=16141&r1=16140&r2=16141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml Thu Sep  6 19:09:31 2007
@@ -89,7 +89,8 @@
             tal:define="items python:here.portal_selections.getSelectionSortOrder(request[\'selection_name\'], REQUEST=request);\n
                         base_form python:getattr(here,request[\'form_id\']);\n
                         groups base_form/get_groups;\n
-                        columns python:base_form.get_fields_in_group(groups[0])[0].get_value(\'all_columns\');\n
+                        listbox python:base_form.Form_getListbox();\n
+                        columns python:listbox.get_value(\'all_columns\');\n
                         global row_index python:0;\n
                         global row_keys python:[\'None\'];\n
                         all_columns python: [(\'None\',\'\')] + columns;">\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log?rev=16141&r1=16140&r2=16141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log Thu Sep  6 19:09:31 2007
@@ -1,3 +1,6 @@
+2007-09-06 yo
+* Obtain a listbox with Form_getListbox instead of from a fixed localtion in configure_list_dialog and sort_list_dialog.
+
 2007-09-04 Kazuhiko
 * use portal_url.getPortalObject().absolute_url_path() instead of portal_url.getPortalPath() for better virtual host support.
 

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=16141&r1=16140&r2=16141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Sep  6 19:09:31 2007
@@ -1,1 +1,1 @@
-433
+434




More information about the Erp5-report mailing list