mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
35 lines
856 B
Java
35 lines
856 B
Java
package org.alfresco.web.bean.spaces;
|
|
|
|
import javax.faces.context.FacesContext;
|
|
|
|
import org.alfresco.web.app.AlfrescoNavigationHandler;
|
|
import org.alfresco.web.app.Application;
|
|
|
|
/**
|
|
* Dialog bean to create a space.
|
|
* Uses the CreateSpaceWizard and just overrides the finish button label
|
|
* and the default outcomes.
|
|
*
|
|
* @author gavinc
|
|
*/
|
|
public class CreateSpaceDialog extends CreateSpaceWizard
|
|
{
|
|
@Override
|
|
public String getFinishButtonLabel()
|
|
{
|
|
return Application.getMessage(FacesContext.getCurrentInstance(), "create_space");
|
|
}
|
|
|
|
@Override
|
|
protected String getDefaultCancelOutcome()
|
|
{
|
|
return AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME;
|
|
}
|
|
|
|
@Override
|
|
protected String getDefaultFinishOutcome()
|
|
{
|
|
return AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME;
|
|
}
|
|
}
|