06-13-2008 06:02 AM
06-13-2008 05:09 PM
06-14-2008 01:51 PM
         <!– Action for adding content - quick upload –>
         <action-group id="add_content_menu">
             <style>white-space:nowrap</style>
             <action idref="add_adm_content" hide="true" />
         </action-group>
       
         <!– Actions Menu for Create in Browse screen –>
         <action-group id="browse_create_menu" hide="true">
            <action idref="create_content"  hide="true"  />
            <action idref="create_form"  hide="true" />
            <action idref="create_web_form"  hide="true" />      
            <action idref="create_website_wizard"  hide="true" />
            <action idref="create_project"  hide="true" />
            <action idref="create_space"  hide="true" />
            <action idref="create_space_wizard"  hide="true" />
         </action-group>
					
				
			
			
				
			
			
			
			
			
			
			
		06-16-2008 07:21 AM
06-16-2008 11:03 AM
06-16-2008 11:19 AM
06-16-2008 11:46 AM
06-19-2008 07:33 AM
12-23-2009 12:13 PM
01-04-2010 05:49 AM
<action id="youraction">
            <evaluator>org.alfresco.web.action.evaluator.YourEvaluator</evaluator>
2. implement YourEvaluator's logic:public class YourEvaluator extends BaseActionEvaluator
{
public boolean evaluate(Node node)
{
DictionaryService dd = Repository.getServiceRegistry(
FacesContext.getCurrentInstance()).getDictionaryService();
//the logic goes here!
return dd.isSubClass(node.getType(), ContentModel.TYPE_CONTENT) &&
((node.hasPermission(PermissionService.CHECK_OUT) &&
(node.isLocked() == false &&
node.hasAspect(ContentModel.ASPECT_WORKING_COPY) == false) &&
node.hasAspect(ContentModel.ASPECT_MULTILINGUAL_EMPTY_TRANSLATION) == false));
}
}
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.