[CMF-checkins] CVS: Products/CMFDefault/profiles/default - actions.xml:1.1.4.1

Yvo Schubbe y.2005- at wcm-solutions.de
Mon Jan 24 14:31:46 EST 2005


Update of /cvs-repository/Products/CMFDefault/profiles/default
In directory cvs.zope.org:/tmp/cvs-serv30226/CMFDefault/profiles/default

Modified Files:
      Tag: yuppie-new_actions-branch
	actions.xml 
Log Message:
- initial checkin of newstyle Actions


=== Products/CMFDefault/profiles/default/actions.xml 1.1 => 1.1.4.1 ===
--- Products/CMFDefault/profiles/default/actions.xml:1.1	Thu Nov 18 13:18:53 2004
+++ Products/CMFDefault/profiles/default/actions.xml	Mon Jan 24 14:31:16 2005
@@ -1,107 +1,161 @@
 <?xml version="1.0"?>
 <actions-tool>
- <action-provider id="portal_membership">
-  <action action_id="login" title="Login"
-          condition_expr="not: member"
-          url_expr="string:${portal_url}/login_form"
-          category="user" visible="True">
-   <permission>View</permission>
-  </action>
-  <action action_id="preferences" title="Preferences"
-          condition_expr="member"
-          url_expr="string:${portal_url}/personalize_form"
-          category="user" visible="True">
-   <permission>View</permission>
-  </action>
-  <action action_id="logout" title="Log out"
-          condition_expr="member"
-          url_expr="string:${portal_url}/logout"
-          category="user" visible="True">
-   <permission>View</permission>
-  </action>
-  <action action_id="addFavorite" title="Add to favorites"
-          condition_expr="portal/portal_membership/getHomeFolder"
-          url_expr="string:${object_url}/addtoFavorites"
-          category="user" visible="True">
-   <permission>View</permission>
-  </action>
-  <action action_id="mystuff" title="My stuff"
-          condition_expr="python: member and portal.portal_membership.getHomeFolder()"
-          url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
-          category="user" visible="True">
-   <permission>View</permission>
-  </action>
-  <action action_id="favorites" title="My favorites"
-          condition_expr="python: member and hasattr(portal.portal_membership.getHomeFolder(), &quot;Favorites&quot;)"
-          url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents"
-          category="user" visible="True">
-   <permission>View</permission>
-  </action>
-  <action action_id="manage_members" title="Manage members"
-          condition_expr=""
-          url_expr="string:${portal_url}/members_manage_form"
-          category="global" visible="True">
-   <permission>Manage users</permission>
-  </action>
-  <action action_id="logged_in" title="Logged in"
-          condition_expr=""
-          url_expr="string:${portal_url}/logged_in"
-          category="user" visible="False">
-   <permission>View</permission>
-  </action>
- </action-provider>
- <action-provider id="portal_actions">
-  <action action_id="folderContents" title="Folder contents"
-          condition_expr="python: folder is not object"
-          url_expr="string:${folder_url}/folder_contents"
-          category="folder" visible="True">
-   <permission>List folder contents</permission>
-  </action>
- </action-provider>
- <action-provider id="portal_registration">
-  <action action_id="join" title="Join"
-          condition_expr="not: member"
-          url_expr="string:${portal_url}/join_form"
-          category="user" visible="True">
-   <permission>Add portal member</permission>
-  </action>
- </action-provider>
  <action-provider id="portal_types">
-
- </action-provider>
- <action-provider id="portal_discussion">
-  <action action_id="reply" title="Reply"
-          condition_expr="python: object is not None and portal.portal_discussion.isDiscussionAllowedFor(object)"
-          url_expr="string:${object_url}/discussion_reply_form"
-          category="object" visible="True">
-   <permission>Reply to item</permission>
-  </action>
- </action-provider>
- <action-provider id="portal_undo">
-  <action action_id="undo" title="Undo"
-          condition_expr="member"
-          url_expr="string:${portal_url}/undo_form"
-          category="global" visible="True">
-   <permission>List undoable changes</permission>
-  </action>
- </action-provider>
- <action-provider id="portal_syndication">
-  <action action_id="syndication" title="Syndication"
-          condition_expr="python: folder is object"
-          url_expr="string:${folder_url}/synPropertiesForm"
-          category="object" visible="True">
-   <permission>Manage properties</permission>
-  </action>
  </action-provider>
  <action-provider id="portal_workflow">
-
  </action-provider>
- <action-provider id="portal_properties">
-  <action action_id="configPortal"
-          title="Reconfigure Portal" condition_expr=""
-          url_expr="string:${portal_url}/reconfig_form"
-          category="global" visible="True">
-   <permission>Manage portal</permission>
-  </action>
+ <action-provider id="portal_actions">
  </action-provider>
+ <object name="user" meta_type="CMF Action Category">
+  <property name="title"></property>
+ <object name="login" meta_type="CMF Action">
+  <property name="title">Login</property>
+  <property name="description">Click here to Login</property>
+  <property name="url_expr">string:${portal_url}/login_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">not: member</property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="join" meta_type="CMF Action">
+  <property name="title">Join</property>
+  <property name="description">Click here to Join</property>
+  <property name="url_expr">string:${portal_url}/join_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">not: member</property>
+  <property name="permissions">
+   <element value="Add portal member" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="preferences" meta_type="CMF Action">
+  <property name="title">Preferences</property>
+  <property name="description">Change your user preferences</property>
+  <property name="url_expr">string:${portal_url}/personalize_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">member</property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="logout" meta_type="CMF Action">
+  <property name="title">Log out</property>
+  <property name="description">Click here to logout</property>
+  <property name="url_expr">string:${portal_url}/logout</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">member</property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="addFavorite" meta_type="CMF Action">
+  <property name="title">Add to favorites</property>
+  <property name="description">Add this item to your favorites</property>
+  <property name="url_expr">string:${object_url}/addtoFavorites</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">portal/portal_membership/getHomeFolder</property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="mystuff" meta_type="CMF Action">
+  <property name="title">My stuff</property>
+  <property name="description">Goto your home folder</property>
+  <property name="url_expr">string:${portal/portal_membership/getHomeUrl}/folder_contents</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">python: member and portal.portal_membership.getHomeFolder()</property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="favorites" meta_type="CMF Action">
+  <property name="title">My favorites</property>
+  <property name="description">Browse your favorites</property>
+  <property name="url_expr">string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites")</property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="logged_in" meta_type="CMF Action">
+  <property name="title">Logged in</property>
+  <property name="description">Used by scripts</property>
+  <property name="url_expr">string:${portal_url}/logged_in</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr"></property>
+  <property name="permissions">
+   <element value="View" /></property>
+  <property name="visible">False</property>
+ </object>
+ </object>
+ <object name="object" meta_type="CMF Action Category">
+  <property name="title"></property>
+ <object name="reply" meta_type="CMF Action">
+  <property name="title">Reply</property>
+  <property name="description"></property>
+  <property name="url_expr">string:${object_url}/discussion_reply_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">python: object is not None and portal.portal_discussion.isDiscussionAllowedFor(object)</property>
+  <property name="permissions">
+   <element value="Reply to item" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="syndication" meta_type="CMF Action">
+  <property name="title">Syndication</property>
+  <property name="description"></property>
+  <property name="url_expr">string:${folder_url}/synPropertiesForm</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">python: folder is object</property>
+  <property name="permissions">
+   <element value="Manage properties" /></property>
+  <property name="visible">True</property>
+ </object>
+ </object>
+ <object name="folder" meta_type="CMF Action Category">
+  <property name="title"></property>
+ <object name="folderContents" meta_type="CMF Action">
+  <property name="title">Folder contents</property>
+  <property name="description"></property>
+  <property name="url_expr">string:${folder_url}/folder_contents</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">python: folder is not object</property>
+  <property name="permissions">
+   <element value="List folder contents" /></property>
+  <property name="visible">True</property>
+ </object>
+ </object>
+ <object name="global" meta_type="CMF Action Category">
+  <property name="title"></property>
+ <object name="manage_members" meta_type="CMF Action">
+  <property name="title">Manage members</property>
+  <property name="description">Manage portal members</property>
+  <property name="url_expr">string:${portal_url}/members_manage_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr"></property>
+  <property name="permissions">
+   <element value="Manage users" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="undo" meta_type="CMF Action">
+  <property name="title">Undo</property>
+  <property name="description"></property>
+  <property name="url_expr">string:${portal_url}/undo_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr">member</property>
+  <property name="permissions">
+   <element value="List undoable changes" /></property>
+  <property name="visible">True</property>
+ </object>
+ <object name="configPortal" meta_type="CMF Action">
+  <property name="title">Reconfigure Portal</property>
+  <property name="description">Reconfigure the portal</property>
+  <property name="url_expr">string:${portal_url}/reconfig_form</property>
+  <property name="icon_expr"></property>
+  <property name="available_expr"></property>
+  <property name="permissions">
+   <element value="Manage portal" /></property>
+  <property name="visible">True</property>
+ </object>
+ </object>
 </actions-tool>



More information about the CMF-checkins mailing list