mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. 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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user