}
private UIComponent prepareUiSource(boolean newComponent, UIPortalApplication uiApp, UIPortalComposer portalComposer,
String sourceId, final UIContainer uiTarget) throws Exception {
UIComponent uiSource;
UITabPane subTabPane = portalComposer.getChild(UITabPane.class);
UIContainerList uiContainerConfig = subTabPane.getChild(UIContainerList.class);
if (uiContainerConfig != null && subTabPane.getSelectedTabId().equals(uiContainerConfig.getId())) {
org.exoplatform.portal.webui.container.UIContainer uiContainer = uiTarget.createUIComponent(
org.exoplatform.portal.webui.container.UIContainer.class, null, null);
Container container = uiContainerConfig.getContainer(sourceId);
// GTNPORTAL-3118: IBM JDK creates negative hashCodes and drag and drop webui logic expects abs values.
container.setId(String.valueOf(Math.abs(container.hashCode())));