03-26-2007 05:16 PM
<config evaluator="node-type" condition="myns:customType">
<actions>
<action id="edit_customType">
<label>Edit Custom Type Content</label>
<image>/images/icons/edit_icon.gif</image>
<action>dialog:customDialog</action>
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<action-group id="document_browse">
<action idref="edit_customType" />
</action-group>
<action-group id="doc_details_actions">
<action idref="edit_customType" />
</action-group>
</actions>
</config>
<config evaluator="aspect-name" condition="myns:customAspect">
<actions>
<action id="edit_customAspect">
<label>Edit Custom Aspect Space</label>
<image>/images/icons/edit_icon.gif</image>
<action>dialog:customDialog</action>
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<action-group id="space_browse">
<action idref="edit_customAspect" />
</action-group>
<action-group id="space_browse_menu">
<action idref="edit_customAspect" />
</action-group>
<action-group id="browse_actions_menu">
<action idref="edit_customAspect" />
</action-group>
<action-group id="space_details_actions">
<action idref="edit_customAspect" />
</action-group>
</actions>
</config>
04-02-2007 07:50 AM
#log4j.logger.org.alfresco.web.ui.repo.component.UIActions=debug
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.