mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Completion of dialog and wizard frameworks also converted advanced space wizard and create space dialog to the new frameworks.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2615 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,6 +41,7 @@ public class WizardsElementReader implements ConfigElementReader
|
||||
|
||||
public static final String ATTR_NAME = "name";
|
||||
public static final String ATTR_MANAGED_BEAN = "managed-bean";
|
||||
public static final String ATTR_ACTIONS_CONFIG_ID = "actions-config-id";
|
||||
public static final String ATTR_ICON = "icon";
|
||||
public static final String ATTR_TITLE = "title";
|
||||
public static final String ATTR_TITLE_ID = "title-id";
|
||||
@@ -78,6 +79,7 @@ public class WizardsElementReader implements ConfigElementReader
|
||||
|
||||
String name = wizard.attributeValue(ATTR_NAME);
|
||||
String bean = wizard.attributeValue(ATTR_MANAGED_BEAN);
|
||||
String actions = wizard.attributeValue(ATTR_ACTIONS_CONFIG_ID);
|
||||
String icon = wizard.attributeValue(ATTR_ICON);
|
||||
String title = wizard.attributeValue(ATTR_TITLE);
|
||||
String titleId = wizard.attributeValue(ATTR_TITLE_ID);
|
||||
@@ -86,7 +88,7 @@ public class WizardsElementReader implements ConfigElementReader
|
||||
|
||||
// create the wizard config object
|
||||
WizardsConfigElement.WizardConfig wizardCfg = new WizardsConfigElement.WizardConfig(
|
||||
name, bean, icon, title, titleId, description, descriptionId);
|
||||
name, bean, actions, icon, title, titleId, description, descriptionId);
|
||||
|
||||
Iterator<Element> steps = wizard.elementIterator(ELEMENT_STEP);
|
||||
while (steps.hasNext())
|
||||
@@ -111,7 +113,13 @@ public class WizardsElementReader implements ConfigElementReader
|
||||
protected StepConfig parseStep(Element step)
|
||||
{
|
||||
// get the name of the step and create the config object
|
||||
StepConfig stepCfg = new StepConfig(step.attributeValue(ATTR_NAME));
|
||||
String stepName = step.attributeValue(ATTR_NAME);
|
||||
String stepTitle = step.attributeValue(ATTR_TITLE);
|
||||
String stepTitleId = step.attributeValue(ATTR_TITLE_ID);
|
||||
String stepDescription = step.attributeValue(ATTR_DESCRIPTION);
|
||||
String stepDescriptionId = step.attributeValue(ATTR_DESCRIPTION_ID);
|
||||
StepConfig stepCfg = new StepConfig(stepName, stepTitle, stepTitleId,
|
||||
stepDescription, stepDescriptionId);
|
||||
|
||||
// find and parse the default page
|
||||
Element defaultPageElem = step.element(ELEMENT_PAGE);
|
||||
|
Reference in New Issue
Block a user