mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Missing title/description in Forms selected in Web Project wizard now correctly taken from Form def
. Workflow package staging/sandbox changes copied from SubmitDialog to CreateWebContentWizard . Fix to Form and Web Project summary screens to show workflow 'title' instead of 'name' (as 'name' is not a useful label) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -500,7 +500,7 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
{
|
||||
UIListItem item = new UIListItem();
|
||||
item.setValue(form);
|
||||
item.setLabel(form.getName());
|
||||
item.setLabel(form.getTitle());
|
||||
item.setDescription(form.getDescription());
|
||||
item.setImage(WebResources.IMAGE_WEBFORM_32);
|
||||
items.add(item);
|
||||
@@ -519,7 +519,10 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
if (index != -1)
|
||||
{
|
||||
Form form = (Form)this.formsList.get(index).getValue();
|
||||
this.forms.add(this.new FormWrapper(form));
|
||||
FormWrapper wrapper = new FormWrapper(form);
|
||||
wrapper.setTitle(form.getTitle());
|
||||
wrapper.setDescription(form.getDescription());
|
||||
this.forms.add(wrapper);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user