mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Daily merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -160,12 +160,15 @@ public class WizardsConfigElement extends ConfigElementAdapter
|
||||
protected String managedBean;
|
||||
protected String icon;
|
||||
protected String actionsConfigId;
|
||||
protected String errorMsgId = "error_wizard";
|
||||
|
||||
protected Map<String, StepConfig> steps = new LinkedHashMap<String, StepConfig>(4);
|
||||
|
||||
public WizardConfig(String name, String bean,
|
||||
String actionsConfigId, String icon,
|
||||
String title, String titleId,
|
||||
String description, String descriptionId)
|
||||
String description, String descriptionId,
|
||||
String errorMsgId)
|
||||
{
|
||||
super(title, titleId, description, descriptionId);
|
||||
|
||||
@@ -176,6 +179,11 @@ public class WizardsConfigElement extends ConfigElementAdapter
|
||||
this.managedBean = bean;
|
||||
this.icon = icon;
|
||||
this.actionsConfigId = actionsConfigId;
|
||||
|
||||
if (errorMsgId != null && errorMsgId.length() > 0)
|
||||
{
|
||||
this.errorMsgId = errorMsgId;
|
||||
}
|
||||
}
|
||||
|
||||
public String getName()
|
||||
@@ -198,6 +206,11 @@ public class WizardsConfigElement extends ConfigElementAdapter
|
||||
return this.actionsConfigId;
|
||||
}
|
||||
|
||||
public String getErrorMessageId()
|
||||
{
|
||||
return this.errorMsgId;
|
||||
}
|
||||
|
||||
public int getNumberSteps()
|
||||
{
|
||||
return this.steps.size();
|
||||
@@ -244,7 +257,8 @@ public class WizardsConfigElement extends ConfigElementAdapter
|
||||
buffer.append(" title=").append(this.title);
|
||||
buffer.append(" titleId=").append(this.titleId);
|
||||
buffer.append(" description=").append(this.description);
|
||||
buffer.append(" descriptionId=").append(this.descriptionId).append(")");
|
||||
buffer.append(" descriptionId=").append(this.descriptionId);
|
||||
buffer.append(" errorMsgId=").append(this.errorMsgId).append(")");
|
||||
return buffer.toString();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user