[Erp5-report] r14279 - in /erp5/trunk: bt5/erp5_html_style/SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 27 15:45:35 CEST 2007
Author: jerome
Date: Fri Apr 27 15:45:35 2007
New Revision: 14279
URL: http://svn.erp5.org?rev=3D14279&view=3Drev
Log:
Move Workflow_statusModify in erp5_html_style (it's also in xhtml_style, no
need to have it duplicated in xhtml_style and core)
Added:
erp5/trunk/bt5/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_=
style/Workflow_statusModify.xml
- copied unchanged from r14278, erp5/trunk/products/ERP5/bootstrap/er=
p5_core/SkinTemplateItem/portal_skins/erp5_core/Workflow_statusModify.xml
Removed:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_sk=
ins/erp5_core/Workflow_statusModify.xml
Modified:
erp5/trunk/bt5/erp5_html_style/bt/revision
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/bt5/erp5_html_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_html_style/bt/revision?rev=3D1=
4279&r1=3D14278&r2=3D14279&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- erp5/trunk/bt5/erp5_html_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_html_style/bt/revision Fri Apr 27 15:45:35 2007
@@ -1,1 +1,1 @@
-21
+22
Removed: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/port=
al_skins/erp5_core/Workflow_statusModify.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinT=
emplateItem/portal_skins/erp5_core/Workflow_statusModify.xml?rev=3D14278&vi=
ew=3Dauto
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_sk=
ins/erp5_core/Workflow_statusModify.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_sk=
ins/erp5_core/Workflow_statusModify.xml (removed)
@@ -1,230 +1,0 @@
-<?xml version=3D"1.0"?>
-<ZopeData>
- <record id=3D"1" aka=3D"AAAAAAAAAAE=3D">
- <pickle>
- <tuple>
- <tuple>
- <string>Products.PythonScripts.PythonScript</string>
- <string>PythonScript</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>Python_magic</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>Script_magic</string> </key>
- <value> <int>3</int> </value>
- </item>
- <item>
- <key> <string>__ac_local_roles__</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_bind_names</string> </key>
- <value>
- <object>
- <klass>
- <global name=3D"NameAssignments" module=3D"Shared.DC.Scr=
ipts.Bindings"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>_asgns</string> </key>
- <value>
- <dictionary>
- <item>
- <key> <string>name_container</string> </ke=
y>
- <value> <string>container</string> </value>
- </item>
- <item>
- <key> <string>name_context</string> </key>
- <value> <string>context</string> </value>
- </item>
- <item>
- <key> <string>name_m_self</string> </key>
- <value> <string>script</string> </value>
- </item>
- <item>
- <key> <string>name_subpath</string> </key>
- <value> <string>traverse_subpath</string> =
</value>
- </item>
- </dictionary>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>_body</string> </key>
- <value> <string>from Products.Formulator.Errors import Validat=
ionError, FormValidationError\n
-from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
-portal =3D context.getPortalObject()\n
-N_ =3D portal.Base_translateString\n
-request=3Dcontext.REQUEST\n
-\n
-try:\n
- # Validate the form\n
- form =3D getattr(context,dialog_id)\n
- form.validate_all_to_request(request)\n
- kw =3D {}\n
- for f in form.get_fields():\n
- k =3D f.id\n
- v =3D getattr(request,k,None)\n
- if v is not None:\n
- k =3D k[3:]\n
- kw[k] =3D v\n
-\n
- listbox =3D request.get(\'listbox\')\n
- if listbox is not None:\n
- listbox_line_list =3D []\n
- listbox =3D getattr(request,\'listbox\',None)\n
- listbox_keys =3D listbox.keys()\n
- listbox_keys.sort()\n
- for key in listbox_keys:\n
- listbox_line =3D listbox[key]\n
- listbox_line[\'listbox_key\'] =3D key\n
- listbox_line_list.append(listbox[key])\n
- listbox_line_list =3D tuple(listbox_line_list)\n
- kw[\'listbox\'] =3D listbox_line_list\n
-\n
- context.portal_workflow.doActionFor(\n
- context,\n
- kw[\'workflow_action\'],\n
- **kw)\n
- message =3D N_(\'Status+changed.\')\n
- redirect_url =3D \'%s/%s?portal_status_message=3D%s\' % ( \n
- context.absolute_url(), form_id,\n
- message)\n
-\n
-except FormValidationError, validation_errors:\n
- # Pack errors into the request\n
- field_errors =3D form.ErrorFields(validation_errors)\n
- request.set(\'field_errors\', field_errors)\n
- return form(request)\n
-\n
-except ValidationFailed, error_message:\n
- if hasattr(error_message, \'msg\'):\n
- # use of Message class to store message+mapping+domain\n
- error_message =3D error_message.msg\n
- redirect_url =3D \'%s/%s?%s\' % ( context.absolute_url(), form_id\n
- , \'portal_status_message=3D%s\' % error=
_message\n
- )\n
-\n
-context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n
-</string> </value>
- </item>
- <item>
- <key> <string>_code</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_filepath</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_params</string> </key>
- <value> <string>form_id, dialog_id</string> </value>
- </item>
- <item>
- <key> <string>errors</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>func_code</string> </key>
- <value>
- <object>
- <klass>
- <global name=3D"FuncCode" module=3D"Shared.DC.Scripts.Si=
gnature"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>co_argcount</string> </key>
- <value> <int>2</int> </value>
- </item>
- <item>
- <key> <string>co_varnames</string> </key>
- <value>
- <tuple>
- <string>form_id</string>
- <string>dialog_id</string>
- <string>Products.Formulator.Errors</string>
- <string>ValidationError</string>
- <string>FormValidationError</string>
- <string>Products.DCWorkflow.DCWorkflow</string>
- <string>ValidationFailed</string>
- <string>_getattr_</string>
- <string>context</string>
- <string>portal</string>
- <string>N_</string>
- <string>request</string>
- <string>getattr</string>
- <string>form</string>
- <string>kw</string>
- <string>_getiter_</string>
- <string>f</string>
- <string>k</string>
- <string>None</string>
- <string>v</string>
- <string>_getitem_</string>
- <string>_write_</string>
- <string>listbox</string>
- <string>listbox_line_list</string>
- <string>listbox_keys</string>
- <string>key</string>
- <string>listbox_line</string>
- <string>tuple</string>
- <string>_apply_</string>
- <string>message</string>
- <string>redirect_url</string>
- <string>validation_errors</string>
- <string>field_errors</string>
- <string>error_message</string>
- <string>hasattr</string>
- </tuple>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>func_defaults</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>Workflow_statusModify</string> </value>
- </item>
- <item>
- <key> <string>warnings</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/re=
vision?rev=3D14279&r1=3D14278&r2=3D14279&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Fri Apr 27 15:=
45:35 2007
@@ -1,1 +1,1 @@
-317
+318
More information about the Erp5-report
mailing list