mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. WCM UI
- Submit All action added for submitting an entire user sandbox (tasty!) - Submit action added for deleted files/folders - Submit action now working correctly for modified files/folders - Status message output on successful/fail submit - WCM Domain and Port added to web-client-config.xml - For the virtualisation server URL generation git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,6 +41,8 @@ public class ClientElementReader implements ConfigElementReader
|
||||
public static final String ELEMENT_SHELFVISIBLE = "shelf-visible";
|
||||
public static final String ELEMENT_AJAX_ENABLED = "ajax-enabled";
|
||||
public static final String ELEMENT_INITIALLOCATION = "initial-location";
|
||||
public static final String ELEMENT_WCM_DOMAIN = "wcm-domain";
|
||||
public static final String ELEMENT_WCM_PORT = "wcm-port";
|
||||
|
||||
/**
|
||||
* @see org.alfresco.config.xml.elementreader.ConfigElementReader#parse(org.dom4j.Element)
|
||||
@@ -152,6 +154,18 @@ public class ClientElementReader implements ConfigElementReader
|
||||
{
|
||||
configElement.setInitialLocation(initialLocation.getTextTrim());
|
||||
}
|
||||
|
||||
// get the WCM domain and port
|
||||
Element wcmDomain = element.element(ELEMENT_WCM_DOMAIN);
|
||||
if (wcmDomain != null)
|
||||
{
|
||||
configElement.setWCMDomain(wcmDomain.getTextTrim());
|
||||
}
|
||||
Element wcmPort = element.element(ELEMENT_WCM_PORT);
|
||||
if (wcmPort != null)
|
||||
{
|
||||
configElement.setWCMPort(wcmPort.getTextTrim());
|
||||
}
|
||||
}
|
||||
|
||||
return configElement;
|
||||
|
Reference in New Issue
Block a user