mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V2.0 to HEAD
5146: AR-1122 5148: AR-1116 5149: RM-5 5152: AR-1167 5153: WCM-324 5154: WCM-325, WCM-301, WCM-258, WCM-25, WCM-320 5156: WCM-338 5158: AR-1164 5169: AR-1216 5177: WCM-328 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,6 +27,7 @@ package org.alfresco.web.ui.repo.component.property;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -77,7 +78,7 @@ public class UIAssociationEditor extends BaseAssociationEditor
|
||||
// and place them in a map keyed by the noderef of the child node
|
||||
if (this.originalAssocs == null)
|
||||
{
|
||||
this.originalAssocs = new HashMap<String, Object>();
|
||||
this.originalAssocs = new LinkedHashMap<String, Object>();
|
||||
|
||||
List assocs = (List)node.getAssociations().get(this.associationName);
|
||||
if (assocs != null)
|
||||
@@ -98,7 +99,7 @@ public class UIAssociationEditor extends BaseAssociationEditor
|
||||
if (added == null)
|
||||
{
|
||||
// if there aren't any added associations for 'associationName' create a map and add it
|
||||
added = new HashMap<String, Object>();
|
||||
added = new LinkedHashMap<String, Object>();
|
||||
node.getAddedAssociations().put(this.associationName, (Map)added);
|
||||
}
|
||||
|
||||
@@ -107,7 +108,7 @@ public class UIAssociationEditor extends BaseAssociationEditor
|
||||
if (removed == null)
|
||||
{
|
||||
// if there aren't any added associations for 'associationName' create a map and add it
|
||||
removed = new HashMap<String, Object>();
|
||||
removed = new LinkedHashMap<String, Object>();
|
||||
node.getRemovedAssociations().put(this.associationName, (Map)removed);
|
||||
}
|
||||
}
|
||||
|
@@ -27,6 +27,7 @@ package org.alfresco.web.ui.repo.component.property;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -77,7 +78,7 @@ public class UIChildAssociationEditor extends BaseAssociationEditor
|
||||
// and place them in a map keyed by the noderef of the child node
|
||||
if (this.originalAssocs == null)
|
||||
{
|
||||
this.originalAssocs = new HashMap<String, Object>();
|
||||
this.originalAssocs = new LinkedHashMap<String, Object>();
|
||||
|
||||
List assocs = (List)node.getChildAssociations().get(this.associationName);
|
||||
if (assocs != null)
|
||||
@@ -98,7 +99,7 @@ public class UIChildAssociationEditor extends BaseAssociationEditor
|
||||
if (added == null)
|
||||
{
|
||||
// if there aren't any added associations for 'associationName' create a map and add it
|
||||
added = new HashMap<String, Object>();
|
||||
added = new LinkedHashMap<String, Object>();
|
||||
node.getAddedChildAssociations().put(this.associationName, (Map)added);
|
||||
}
|
||||
|
||||
@@ -107,7 +108,7 @@ public class UIChildAssociationEditor extends BaseAssociationEditor
|
||||
if (removed == null)
|
||||
{
|
||||
// if there aren't any added associations for 'associationName' create a map and add it
|
||||
removed = new HashMap<String, Object>();
|
||||
removed = new LinkedHashMap<String, Object>();
|
||||
node.getRemovedChildAssociations().put(this.associationName, (Map)removed);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user