mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4/root@4975 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4/root@4979 .
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5033 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,6 +43,7 @@ public class ClientElementReader implements ConfigElementReader
|
||||
public static final String ELEMENT_AJAX_ENABLED = "ajax-enabled";
|
||||
public static final String ELEMENT_INITIALLOCATION = "initial-location";
|
||||
public static final String ELEMENT_DEFAULTHOMESPACEPATH = "default-home-space-path";
|
||||
public static final String ELEMENT_GUESTCONFIG = "allow-guest-config";
|
||||
|
||||
/**
|
||||
* @see org.alfresco.config.xml.elementreader.ConfigElementReader#parse(org.dom4j.Element)
|
||||
@@ -169,6 +170,14 @@ public class ClientElementReader implements ConfigElementReader
|
||||
{
|
||||
configElement.setDefaultHomeSpacePath(defaultHomeSpacePath.getTextTrim());
|
||||
}
|
||||
|
||||
// get allow Guest to configure start location preferences
|
||||
Element guestConfigElement = element.element(ELEMENT_GUESTCONFIG);
|
||||
if (guestConfigElement != null)
|
||||
{
|
||||
boolean allow = Boolean.parseBoolean(guestConfigElement.getTextTrim());
|
||||
configElement.setAllowGuestConfig(allow);
|
||||
}
|
||||
}
|
||||
|
||||
return configElement;
|
||||
|
Reference in New Issue
Block a user