. 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

@@ -54,8 +54,6 @@ public class AlfrescoNavigationHandler extends NavigationHandler
public final static String CLOSE_DIALOG_OUTCOME = DIALOG_PREFIX + "close";
public final static String CLOSE_WIZARD_OUTCOME = WIZARD_PREFIX + "close";
protected final static String CONFIG_NAV_BEAN = "NavigationBean";
protected String dialogContainer = null;
protected String wizardContainer = null;
@@ -400,7 +398,7 @@ public class AlfrescoNavigationHandler extends NavigationHandler
Node dispatchNode = null;
NavigationBean navBean = (NavigationBean)context.getExternalContext().
getSessionMap().get(CONFIG_NAV_BEAN);
getSessionMap().get(NavigationBean.BEAN_NAME);
if (navBean != null)
{
@@ -488,7 +486,7 @@ public class AlfrescoNavigationHandler extends NavigationHandler
// reset the dispatch context
((NavigationBean)context.getExternalContext().getSessionMap().
get(CONFIG_NAV_BEAN)).resetDispatchContext();
get(NavigationBean.BEAN_NAME)).resetDispatchContext();
}
else
{