AnsweredAssumed Answered

Attribute Inspector inside Content Pane Issue (widget id already registered)

Question asked by kelboyd24 on Feb 27, 2013
Latest reply on Feb 27, 2013 by kelboyd24
I adapted the following sample to put the attribute inspector in the right pane of the page:
(When I watched users try to use the attribute inspector in the info window, I noticed they had to pan the map and make adjustments in order to see all of the fields they needed to edit.)

Anyway, I'm working with floor plans so before I can enable editing, the user queries a building and the first floor is loaded. The selected floor is used in a definition expression on the feature layer used for editing. The layerInfos and attribute inspector are set up in the initSelectToolbar function.

attInspector = new esri.dijit.AttributeInspector({               layerInfos: layerInfos             }, "attributesDiv");

<div data-dojo-type="dijit.layout.ContentPane"                 data-dojo-props="title:'Enter/Edit Room'">            <div id="attributesDiv"></div>           </div>

I get this error in firebug "Tried to register widget with id==attributesDiv but that id is already registered".

I've tried using different variations from to put the attribute inspector in a new div inside attributesDiv but they haven't worked. I'm thinking I may not have have the right require statement.

Any help would be greatly appreciated.
Take care,