From c601090d121875a37df4d070840005adbe2aec2b Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 2 Mar 2006 14:50:26 +0000 Subject: [PATCH] commit last changes git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5925 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_core/BaseDomain_view.xml | 4 +++- .../SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml | 2 +- .../portal_skins/erp5_core/ERP5Site_reindexAll.xml | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml index 4e4e9e6cd6..ed971294e0 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml @@ -100,7 +100,9 @@ <item> <key> <string>right</string> </key> <value> - <list/> + <list> + <string>my_domain_generator_method_id</string> + </list> </value> </item> </dictionary> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml index 7f0d085c7e..55ce799540 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml @@ -247,9 +247,9 @@ try:\n \n # Maybe we should build a list of objects we need\n # Update basic attributes\n + context.edit(REQUEST=request,**kw)\n for encapsulated_editor in encapsulated_editor_list:\n encapsulated_editor.edit(context)\n - context.edit(REQUEST=request,**kw)\n \n except FormValidationError, validation_errors:\n # Pack errors into the request\n diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml index 7e2f4b3002..d787c538bb 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml @@ -97,6 +97,12 @@ context.portal_trash.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id for o in list(context.portal_trash.objectValues()):\n o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n \n +# Next we index domains\n +print "#### Indexing domains ####"\n +context.portal_domains.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n +for o in list(context.portal_domains.objectValues()):\n + o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n +\n # Next we index applied rules\n print "#### Indexing applied rules ####"\n context.portal_rules.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n -- 2.30.9