[CMF-checkins] CVS: CMF/CMFCalendar - Event.py:1.12.10.1

Tres Seaver tseaver@zope.com
Mon, 10 Mar 2003 18:50:23 -0500


Update of /cvs-repository/CMF/CMFCalendar
In directory cvs.zope.org:/tmp/cvs-serv2028/CMFCalendar

Modified Files:
      Tag: tseaver-ti_apb_redux-branch
	Event.py 
Log Message:


  Landing 'tseaver-typeinfo_as_apb-branch' against current HEAD, using
  a new integration branch:

  - Merged the branch and fixed up all conflicts;  all tests pass.

  - Updated all the 'factory_type_information' structures to make the
    'action' key a TALES expression (e.g., "document_view" ->
    "string:document_view").

  Remaining TODOs:

  - Write an external method for converting existing type info objects
    (they all have dictionaries, instead of ActionInformation objects,
    stored in the ZODB).  Otherwise, all existing type info objects are
    *toast*.

  - Perhaps someone can think of a clever way to avoid the need for this
    conversion?


=== CMF/CMFCalendar/Event.py 1.12 => 1.12.10.1 ===
--- CMF/CMFCalendar/Event.py:1.12	Sat Oct 19 12:10:16 2002
+++ CMF/CMFCalendar/Event.py	Mon Mar 10 18:49:51 2003
@@ -44,11 +44,11 @@
      'immediate_view': 'event_edit_form',
      'actions': ({'id': 'view',
                   'name': 'View',
-                  'action': 'event_view',
+                  'action': 'string:event_view',
                   'permissions': (View,)},
                  {'id': 'edit',
                   'name': 'Edit',
-                  'action': 'event_edit_form',
+                  'action': 'string:event_edit_form',
                   'permissions': (EventPermissions.ChangeEvents,)},
                  ),                     # End Actions
      },