. UI action evaluators for Create Web Project and Create Form actions

- permissions are check for Write access to appropriate folders
 - The Create Web Project action is now only available when the current folder context is the "Websites" folder
. NavigationBean bean name constant added

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-11-28 14:56:38 +00:00
parent 6027f1c17d
commit c8af965116
8 changed files with 115 additions and 10 deletions

View File

@@ -583,7 +583,7 @@ public final class Utils
// get hold of the node service, cifsServer and navigation bean
NodeService nodeService = Repository.getServiceRegistry(context).getNodeService();
NavigationBean navBean = (NavigationBean)context.getExternalContext().
getSessionMap().get("NavigationBean");
getSessionMap().get(NavigationBean.BEAN_NAME);
CIFSServer cifsServer = (CIFSServer)FacesContextUtils.getRequiredWebApplicationContext(
context).getBean("cifsServer");