mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added new command processor to execute UI Action based commands
For new commands such as 'createwebcontent' - launches the Create Web Content wizard via URL. Some clean up of JSF Bean name constants. Minor fixes to webscript templates for demo. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -47,6 +47,8 @@ import org.apache.commons.logging.LogFactory;
|
||||
*/
|
||||
public class DashboardManager
|
||||
{
|
||||
public static final String BEAN_NAME = "DashboardManager";
|
||||
|
||||
private static Log logger = LogFactory.getLog(DashboardManager.class);
|
||||
|
||||
private static final String PREF_DASHBOARD = "dashboard";
|
||||
|
@@ -46,6 +46,8 @@ import org.alfresco.web.ui.common.component.UIActionLink;
|
||||
*/
|
||||
public final class DialogManager
|
||||
{
|
||||
public final static String BEAN_NAME = "DialogManager";
|
||||
|
||||
private DialogState currentDialogState;
|
||||
private Map<String, String> paramsToApply;
|
||||
|
||||
|
@@ -1066,7 +1066,7 @@ public class AVMBrowseBean implements IContextListener
|
||||
|
||||
// pass form ID to the wizard - to be picked up in init()
|
||||
FacesContext fc = FacesContext.getCurrentInstance();
|
||||
WizardManager manager = (WizardManager)FacesHelper.getManagedBean(fc, "WizardManager");
|
||||
WizardManager manager = (WizardManager)FacesHelper.getManagedBean(fc, WizardManager.BEAN_NAME);
|
||||
manager.setupParameters(event);
|
||||
fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "wizard:createWebContent");
|
||||
}
|
||||
|
@@ -52,6 +52,9 @@ import org.apache.commons.logging.LogFactory;
|
||||
*/
|
||||
public final class WizardManager
|
||||
{
|
||||
/** public JSF bean name */
|
||||
public final static String BEAN_NAME = "WizardManager";
|
||||
|
||||
private static Log logger = LogFactory.getLog(WizardManager.class);
|
||||
|
||||
private WizardState currentWizardState;
|
||||
|
Reference in New Issue
Block a user