1 18 package org.alfresco.web.bean.wizard; 19 20 import org.alfresco.model.ForumModel; 21 import org.alfresco.web.app.AlfrescoNavigationHandler; 22 23 28 public class NewForumWizard extends NewSpaceWizard 29 { 30 33 public void init() 34 { 35 super.init(); 36 37 this.spaceType = ForumModel.TYPE_FORUM.toString(); 38 } 39 40 43 @Override 44 public String finish() 45 { 46 String outcome = super.finish(); 47 48 if (outcome != null); 50 { 51 outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME; 52 } 53 54 return outcome; 55 } 56 57 60 @Override 61 public String cancel() 62 { 63 super.cancel(); 64 65 return AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME; 66 } 67 } 68 | Popular Tags |