AnsweredAssumed Answered

Adding custom ui action to action-group

Question asked by buzman on Aug 1, 2006
Latest reply on Aug 4, 2006 by buzman
Hi,
  I'm in the process of adding a custom ui action (*not* a folder action) to an existing action-group, and I need it to appear at a certain location (index) in the action group.

The existing action-group definition is the one for 'browse_actions_menu' :
<action-group id="browse_actions_menu">
  <action idref="details_space" />
  <action idref="delete_space" />
  <action idref="cut_node" />
  <action idref="copy_node" />
  <action idref="paste_all" />
  <action idref="manage_space_users" />
  <action idref="manage_space_rules" />
  <action idref="manage_deleted_items" />
</action-group>
… and I'd like my custom action to appear between details_space and delete_space.

What would be the best way to achieve this? Do I need to replicate the  whole action-group definition in my custom web-client properties file and add the action into the list :
<action-group id="browse_actions_menu">
  <action idref="details_space" />
  <action idref="my_custom_action" />
  <action idref="delete_space" />
  <action idref="cut_node" />
  <action idref="copy_node" />
  <action idref="paste_all" />
  <action idref="manage_space_users" />
  <action idref="manage_space_rules" />
  <action idref="manage_deleted_items" />
</action-group>
  or is there a more concise way?

Thanks
B

Outcomes