Lazy Loading Tree Component.

Hello, everyone. Im trying to implement lazy loading of the elements on node Expand Events. There is an issue with this. So on expand event, I create new items for the expanded node using [code] HierarchicalContainer [/code] s method addItem() .
But this method calls containerItemSetChange() method of AbstractSelect class. There itemIdMapper.removeAll() is called. So Map is cleaned and all items of tree get new ids in map. When the answer from server comes to client side, it doesn`t know this new id , because it has previous id (of expanded node) so new items are not added and not rendered on client side.

Can Anyone help me with this problem ? Thank in advance.