[CMF-checkins] CVS: CMF/CMFCore - PortalFolder.py:1.45.6.1

Yvo Schubbe schubbe@web.de
Thu, 8 May 2003 16:02:41 -0400


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv31451/CMFCore

Modified Files:
      Tag: yuppie-collector152-branch
	PortalFolder.py 
Log Message:
updated fti actions

=== CMF/CMFCore/PortalFolder.py 1.45 => 1.45.6.1 ===
--- CMF/CMFCore/PortalFolder.py:1.45	Tue Apr 15 12:08:01 2003
+++ CMF/CMFCore/PortalFolder.py	Thu May  8 16:02:40 2003
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """ PortalFolder: CMF-enabled Folder objects.
 
@@ -43,19 +43,20 @@
   , 'immediate_view' : 'folder_edit_form'
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
-                         , 'action'        : 'string:'
+                         , 'action': 'string:${object_url}'
                          , 'permissions'   : (View,)
                          , 'category'      : 'folder'
                          }
                        , { 'id'            : 'edit'
                          , 'name'          : 'Edit'
-                         , 'action'        : 'string:folder_edit_form'
+                         , 'action': 'string:${object_url}/folder_edit_form'
                          , 'permissions'   : (ManageProperties,)
                          , 'category'      : 'folder'
                          }
                        , { 'id'            : 'localroles'
                          , 'name'          : 'Local Roles'
-                         , 'action'        : 'string:folder_localrole_form'
+                         , 'action':
+                                  'string:${object_url}/folder_localrole_form'
                          , 'permissions'   : (ManageProperties,)
                          , 'category'      : 'folder'
                          }