. Full summary screen added to Create Web Project wizard

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-11-29 12:44:15 +00:00
parent fc2b03a09d
commit b6049d4b9e
5 changed files with 117 additions and 6 deletions

View File

@@ -441,7 +441,6 @@ public class CreateWebsiteWizard extends BaseWizardBean
public String getSummary()
{
FacesContext fc = FacesContext.getCurrentInstance();
ResourceBundle bundle = Application.getBundle(fc);
// build a summary section to list the invited users and there roles
StringBuilder buf = new StringBuilder(128);
@@ -465,10 +464,8 @@ public class CreateWebsiteWizard extends BaseWizardBean
}
return buildSummary(
new String[] {bundle.getString(MSG_NAME),
bundle.getString(MSG_DESCRIPTION),
bundle.getString(MSG_USERROLES)},
new String[] {this.name, this.description, buf.toString()});
new String[] {Application.getMessage(fc, MSG_USERROLES)},
new String[] {buf.toString()});
}
@@ -489,6 +486,14 @@ public class CreateWebsiteWizard extends BaseWizardBean
return this.formsDataModel;
}
/**
* @return the List of selected and configured Form objects (for summary screen)
*/
public List<FormWrapper> getForms()
{
return this.forms;
}
/**
* @param formsDataModel JSF data model for the Form templates
@@ -627,6 +632,14 @@ public class CreateWebsiteWizard extends BaseWizardBean
this.workflowsDataModel = workflowsDataModel;
}
/**
* @return the list of workflows (for the summary screen)
*/
public List<WorkflowWrapper> getWorkflows()
{
return this.workflows;
}
/**
* @return List of UI items to represent the available Workflows for all websites
*/