Using the same InfoWindow for two AttributeInspectors
<p>I've got two editable feature layers in my application, and I'm trying to attach the appropriate attribute inspector depending on which feature layer my user is trying to edit.</p>

<p>I create the Attribute Inspectors for both feature layers when my application loads and then attach the appropriate attribute inspector to the map's InfoWindow when the user is trying to edit a feature layer.</p>

<p>All works well, until the user tries to edit another feature layer. When I try and attach a different attribute inspector to the infowindow, it just comes up blank.</p>

<p>Here's roughly what I'm doing:</p>

<pre><code> // AttributeEditor1 for FeatureLayer1 in Class1

    constructor: function(options) {
        this.options = lang.mixin(this.options, options);
        this.map = options.map;
        this.configureAttributeEditor1();
    },

    configureAttributeEditor1: function() {

        this.attributeEditor1 = new AttributeInspector({
            layerInfos: layerInfos
        }, domConstruct.create("div"));

        // here I add a Save and Delete button and various event handlers

        this.attributeEditor1.startup();

    },

    // I call this when I know that the user wants to edit FeatureLayer 1
    attachEditor1: function() {
          this.map.infoWindow.setContent(this.attributeEditor1.domNode);
          this.map.infoWindow.resize(350, 240);
    },

 // AttributeEditor2 for FeatureLayer2 in Class2    

    constructor: function(options) {
        this.options = lang.mixin(this.options, options);
        this.map = options.map;
        this.configureAttributeEditor2();
    },

    configureAttributeEditor2: function() {

        this.attributeEditor2 = new AttributeInspector({
            layerInfos: layerInfos
        }, domConstruct.create("div"));

        // here I add a Save and Delete button and various event handlers

        this.attributeEditor2.startup();

    },

    // I call this when I know that the user wants to edit FeatureLayer 2
    attachEditor2: function() {
          this.map.infoWindow.setContent(this.attributeEditor2.domNode);
          this.map.infoWindow.resize(350, 240);
    },      
</code></pre>

<p>Thanks in advance.</p>