Odd behavior with two maps in separate windows (tabs) - seeing each others nav events

Discussion created by jeff.pace on Oct 13, 2011
Latest reply on Oct 17, 2011 by jeff.pace
I am trying to make a interactive print page

in my primary app, i set some global variables with extent, layers, graphics, etc..
i then call"print.html","PrintWindow");

print.html is an interactive map template.   its init function is

function init() {
   // = null;
      //  var startExtent = new esri.geometry.Extent({"xmin":-9228363.6,"ymin":3140074.58,"xmax":-9116765.5,"ymax":3202141.45,"spatialReference":{"wkid":102100}});
        printpagemap = new esri.Map("printpagemap",{extent:opener.printMapExtent, logo:false});
        dojo.forEach(opener.printMapLayers, dojo.hitch(this, function(layer){
        dojo.forEach(, dojo.hitch(this, function(graphic){

 navToolbar = new esri.toolbars.Navigation(printpagemap);


So the references to "opener" are the parent app.  This works great, except, as so as i do navigation on the print map, it destroys all navigation on the parent app, even though its in a new tab.
If i navigate on the parent app, the map the is updated is on the print page only!!! I.e. the zoom slider moves in on the parent app but its map does not update, the map in the other tab does!

also graphics become completely buggered.  My guess is i am cross naming somewhere, but since the printmap has a completely different id i thought the would be independent?

please help, thanks.