// Remove the item from the source container and
// add it to the tree's container
Container sourceContainer = t.getSourceContainer();
sourceContainer.removeItem(sourceItemId);
tree.addItem(beanItem);
InventoryObject bean = (InventoryObject) beanItem.getBean();
tree.setChildrenAllowed(beanItem, bean.isContainer());
// Drop right on an item -> make it a child
if (location == VerticalDropLocation.MIDDLE) {