mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Configuration changes
- each wizard now has its own list of types - made the inline text editing page the default page in create content wizard - dialog and wizard config is now global - fixed problem with create content wizard action git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -306,12 +306,12 @@ public abstract class BaseActionWizard extends BaseWizardBean
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find aspects configuration element");
|
||||
logger.warn("Could not find 'aspects' configuration element");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find Action Wizards configuration section");
|
||||
logger.warn("Could not find 'Action Wizards' configuration section");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -334,10 +334,10 @@ public abstract class BaseActionWizard extends BaseWizardBean
|
||||
|
||||
// add any configured content sub-types to the list
|
||||
ConfigService svc = Application.getConfigService(FacesContext.getCurrentInstance());
|
||||
Config wizardCfg = svc.getConfig("Custom Content Types");
|
||||
Config wizardCfg = svc.getConfig("Action Wizards");
|
||||
if (wizardCfg != null)
|
||||
{
|
||||
ConfigElement typesCfg = wizardCfg.getConfigElement("content-types");
|
||||
ConfigElement typesCfg = wizardCfg.getConfigElement("specialise-types");
|
||||
if (typesCfg != null)
|
||||
{
|
||||
for (ConfigElement child : typesCfg.getChildren())
|
||||
@@ -373,12 +373,12 @@ public abstract class BaseActionWizard extends BaseWizardBean
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find 'content-types' configuration element");
|
||||
logger.warn("Could not find 'specialise-types' configuration element");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find 'Custom Content Types' configuration section");
|
||||
logger.warn("Could not find 'Action Wizards' configuration section");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -456,12 +456,12 @@ public abstract class BaseActionWizard extends BaseWizardBean
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find transformers configuration element");
|
||||
logger.warn("Could not find 'transformers' configuration element");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find Action Wizards configuration section");
|
||||
logger.warn("Could not find 'Action Wizards' configuration section");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -509,12 +509,12 @@ public abstract class BaseActionWizard extends BaseWizardBean
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find image-transformers configuration element");
|
||||
logger.warn("Could not find 'image-transformers' configuration element");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Could not find Action Wizards configuration section");
|
||||
logger.warn("Could not find 'Action Wizards' configuration section");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user