mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
First cut of dialog/wizard framework
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,8 +36,11 @@ import org.alfresco.config.ConfigService;
|
||||
import org.alfresco.repo.importer.ImporterBootstrap;
|
||||
import org.alfresco.service.cmr.repository.StoreRef;
|
||||
import org.alfresco.web.app.servlet.AuthenticationHelper;
|
||||
import org.alfresco.web.app.servlet.FacesHelper;
|
||||
import org.alfresco.web.bean.ErrorBean;
|
||||
import org.alfresco.web.bean.dialog.DialogManager;
|
||||
import org.alfresco.web.bean.repository.User;
|
||||
import org.alfresco.web.bean.wizard.WizardManager;
|
||||
import org.alfresco.web.config.ClientConfigElement;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.springframework.web.context.WebApplicationContext;
|
||||
@@ -164,6 +167,26 @@ public class Application
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the DialogManager managed bean
|
||||
*
|
||||
* @return DialogManager bean
|
||||
*/
|
||||
public static DialogManager getDialogManager()
|
||||
{
|
||||
return (DialogManager)FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "DialogManager");
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the WizardManager managed bean
|
||||
*
|
||||
* @return WizardManager bean
|
||||
*/
|
||||
public static WizardManager getWizardManager()
|
||||
{
|
||||
return (WizardManager)FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "WizardManager");
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the configured error page for the application
|
||||
*
|
||||
|
Reference in New Issue
Block a user