Merged V3.4-BUG-FIX to HEAD

31941: ALF-11247: Browsing in Alfresco Explorer leads to memory leaks and eventual IllegalStateException - Fix by Andrey

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31970 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2011-11-15 11:09:33 +00:00
parent cc4d4016ee
commit b9ea293f31

View File

@@ -291,7 +291,9 @@ public class UIActions extends SelfRenderingComponent
HtmlPanelGroup wrapper = (HtmlPanelGroup)facesApp.createComponent(ComponentConstants.JAVAX_FACES_PANELGROUP); HtmlPanelGroup wrapper = (HtmlPanelGroup)facesApp.createComponent(ComponentConstants.JAVAX_FACES_PANELGROUP);
wrapper.setId(createUniqueId()); wrapper.setId(createUniqueId());
wrapper.getAttributes().put("contextId", contextId); wrapper.getAttributes().put("contextId", contextId);
this.getChildren().add(wrapper); List children = this.getChildren();
children.clear();
children.add(wrapper);
this.groups.add(contextId); this.groups.add(contextId);
// process each ActionDefinition in the order they were defined // process each ActionDefinition in the order they were defined