[Erp5-report] r45207 lucas - in /erp5/trunk/bt5/erp5_configurator: SkinTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 7 23:41:27 CEST 2011


Author: lucas
Date: Thu Apr  7 23:41:27 2011
New Revision: 45207

URL: http://svn.erp5.org?rev=45207&view=rev
Log:
2011-04-07 lucas
* Kept the Configuration Tool consistency, the name of the button element must be field_your_business_configuration. Then the action name must be handled by the form instead of the button.

Modified:
    erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml
    erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml
    erp5/trunk/bt5/erp5_configurator/bt/change_log
    erp5/trunk/bt5/erp5_configurator/bt/revision

Modified: erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml?rev=45207&r1=45206&r2=45207&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml [utf8] Thu Apr  7 23:41:27 2011
@@ -67,11 +67,11 @@
                     <span tal:condition="bc_description"\n
                           tal:content="python: \'%s ...\' % bc_description[:80]" />\n
 \n
-                    <button id="dialog_submit_button"\n
+                    <button id="dialog-submit-button"\n
                             accesskey="V"\n
                             tal:attributes="value python: bc.getRelativeUrl()"\n
                             type="submit"\n
-                            name="Base_callDialogMethod:method">Configure</button>\n
+                            name="field_your_business_configuration">Configure</button>\n
                   </div>\n
                 </td>\n
               </tal:block>\n

Modified: erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml?rev=45207&r1=45206&r2=45207&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml [utf8] Thu Apr  7 23:41:27 2011
@@ -92,7 +92,7 @@ IDEAS:\n
         <body>\n
           <form id="main_form"\n
                 tal:attributes="enctype form/Form_getEnctype | enctype | nothing;\n
-                action url;\n
+                action python: \'Base_callDialogMethod\' if form.action == \'login\' else url;\n
                 method python:str(path(\'form/method | string:post\')).lower()">\n
             <fieldset id="hidden_fieldset">\n
               <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html -->\n

Modified: erp5/trunk/bt5/erp5_configurator/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/bt/change_log?rev=45207&r1=45206&r2=45207&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator/bt/change_log [utf8] Thu Apr  7 23:41:27 2011
@@ -1,4 +1,7 @@
 2011-04-07 lucas
+* Kept the Configuration Tool consistency, the name of the button element must be field_your_business_configuration. Then the action name must be handled by the form instead of the button.
+
+2011-04-07 lucas
 * The ConfiguratorTool_getAvailableBusinessConfigurationList must return a list of tuples following the appropriated order, such list is used to render the business configuration in the new user interface.
 
 2011-04-07 lucas

Modified: erp5/trunk/bt5/erp5_configurator/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/bt/revision?rev=45207&r1=45206&r2=45207&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator/bt/revision [utf8] Thu Apr  7 23:41:27 2011
@@ -1 +1 @@
-513
\ No newline at end of file
+514
\ No newline at end of file



More information about the Erp5-report mailing list