mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. 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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user