First-cut dynamic WebClient.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-08-31 15:14:36 +00:00
parent 611ee1a6a2
commit ffc06927b4
29 changed files with 926 additions and 83 deletions

View File

@@ -1034,7 +1034,7 @@ public final class AVMUtil
private static ConfigElement getDeploymentConfig()
{
if (deploymentConfig == null)
if ((deploymentConfig == null) || (Application.isDynamicConfig(FacesContext.getCurrentInstance())))
{
ConfigService cfgService = Application.getConfigService(FacesContext.getCurrentInstance());
ConfigElement wcmCfg = cfgService.getGlobalConfig().getConfigElement("wcm");
@@ -1049,7 +1049,7 @@ public final class AVMUtil
private static ConfigElement getLinksManagementConfig()
{
if (linksManagementConfig == null)
if ((linksManagementConfig == null) || (Application.isDynamicConfig(FacesContext.getCurrentInstance())))
{
ConfigService cfgService = Application.getConfigService(FacesContext.getCurrentInstance());
ConfigElement wcmCfg = cfgService.getGlobalConfig().getConfigElement("wcm");