mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Added error-message-id attribute to dialog and wizard framework
- Added error component to container pages - Removed error component from each dialog/wizard page - Fixed problem where dialog or wizard would not work after an error git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,6 +49,7 @@ public class WizardsElementReader implements ConfigElementReader
|
||||
public static final String ATTR_DESCRIPTION_ID = "description-id";
|
||||
public static final String ATTR_INSTRUCTION = "instruction";
|
||||
public static final String ATTR_INSTRUCTION_ID = "instruction-id";
|
||||
public static final String ATTR_ERROR_MSG_ID = "error-message-id";
|
||||
public static final String ATTR_IF = "if";
|
||||
public static final String ATTR_PATH = "path";
|
||||
|
||||
@@ -85,10 +86,11 @@ public class WizardsElementReader implements ConfigElementReader
|
||||
String titleId = wizard.attributeValue(ATTR_TITLE_ID);
|
||||
String description = wizard.attributeValue(ATTR_DESCRIPTION);
|
||||
String descriptionId = wizard.attributeValue(ATTR_DESCRIPTION_ID);
|
||||
String errorMsgId = wizard.attributeValue(ATTR_ERROR_MSG_ID);
|
||||
|
||||
// create the wizard config object
|
||||
WizardsConfigElement.WizardConfig wizardCfg = new WizardsConfigElement.WizardConfig(
|
||||
name, bean, actions, icon, title, titleId, description, descriptionId);
|
||||
name, bean, actions, icon, title, titleId, description, descriptionId, errorMsgId);
|
||||
|
||||
Iterator<Element> steps = wizard.elementIterator(ELEMENT_STEP);
|
||||
while (steps.hasNext())
|
||||
|
Reference in New Issue
Block a user