[Erp5-report] r31876 yo - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateIte...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 21 14:39:15 CET 2010
Author: yo
Date: Thu Jan 21 14:39:13 2010
New Revision: 31876
URL: http://svn.erp5.org?rev=31876&view=rev
Log:
2010-01-21 yo
* Extend the jump script to exchange the relation form dynamically.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml?rev=31876&r1=31875&r2=31876&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml [utf8] Thu Jan 21 14:39:13 2010
@@ -148,7 +148,7 @@
\'Base_jumpToRelatedObjectList\', kw)\n
request.set(\'object_uid\', context.getUid())\n
request.set(\'uids\', selection_uid_list)\n
- return context.Base_jumpToRelatedObjectList(\n
+ return getattr(context, relation_form_id)(\n
uids=selection_uid_list, REQUEST=request)\n
\n
query_params = dict(portal_status_message=message)\n
@@ -169,7 +169,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>base_category, portal_type=(), related=1, selection_name="", selection_index=0, form_id=\'view\', target_form_id=None, jump_from_relative_url=None</string> </value>
+ <value> <string>base_category, portal_type=(), related=1, selection_name="", selection_index=0, form_id=\'view\', target_form_id=None, jump_from_relative_url=None, relation_form_id=\'Base_jumpToRelatedObjectList\'</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -189,7 +189,7 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>8</int> </value>
+ <value> <int>9</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
@@ -203,6 +203,7 @@
<string>form_id</string>
<string>target_form_id</string>
<string>jump_from_relative_url</string>
+ <string>relation_form_id</string>
<string>ZTUtils</string>
<string>make_query</string>
<string>_getattr_</string>
@@ -258,6 +259,7 @@
<string>view</string>
<none/>
<none/>
+ <string>Base_jumpToRelatedObjectList</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log?rev=31876&r1=31875&r2=31876&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] Thu Jan 21 14:39:13 2010
@@ -1,3 +1,6 @@
+2010-01-21 yo
+* Extend the jump script to exchange the relation form dynamically.
+
2010-01-08 yusuke
* Fixed a problem view of workflow history was not able to paging.
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=31876&r1=31875&r2=31876&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Thu Jan 21 14:39:13 2010
@@ -1,1 +1,1 @@
-1436
+1437
More information about the Erp5-report
mailing list