mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. WCM UI enhancements
- sizing of selected item lists - No modified items/no web forms messages added to sandbox views - Sizing of output path text boxes - Description textboxes in web project wizard now textareas - Selected Web Forms list in Create Web Project wizard now looks like lists in Create Form Wizard - Improved list layout in Configure Templates dialog - Mimetype of template shown next to name in list in Configure Templates dialog git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
package org.alfresco.web.bean.wcm;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.text.MessageFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
@@ -67,7 +66,6 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
private static final String MSG_DESCRIPTION = "description";
|
||||
private static final String MSG_NAME = "name";
|
||||
private static final String MSG_USERROLES = "create_website_summary_users";
|
||||
private static final String MSG_FORM_SUMMARY = "website_form_summary";
|
||||
private static final String MSG_NONE = "workflow_not_set";
|
||||
|
||||
private static final String COMPONENT_FORMLIST = "form-list";
|
||||
@@ -844,6 +842,11 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
return this.templates;
|
||||
}
|
||||
|
||||
public int getTemplatesSize()
|
||||
{
|
||||
return getTemplates() != null ? getTemplates().size() : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param template to add to the list of PresentationTemplate
|
||||
*/
|
||||
@@ -863,18 +866,6 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
{
|
||||
this.templates = templates;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Human readable summary of the configuration for this form
|
||||
*/
|
||||
public String getDetails()
|
||||
{
|
||||
String none = '<' + Application.getMessage(FacesContext.getCurrentInstance(), MSG_NONE) + '>';
|
||||
return MessageFormat.format(Application.getMessage(FacesContext.getCurrentInstance(), MSG_FORM_SUMMARY),
|
||||
getWorkflow() != null ? this.workflow.title : none,
|
||||
getOutputPathPattern() != null ? this.outputPathPattern : none,
|
||||
getTemplates() != null ? this.templates.size() : 0);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user