I have 2 trees in the same page. Is it possible to put one

I have 2 trees in the same page. Is it possible to put
one context menu on each tree ?

Yes you can assign the same context menu to
both trees. Just use the same menu object for enableContextMenu command in both
trees.