So I have an Accordian Pane, in an Accordian Container, in a TabContainer, in an ExpandoPaneIf I load an edit widget, the editbar loads, but the template picker is empty. No amount of refreshing it makes it populate.HOWEVERIf I click on the Editing Tab quick enough so that the pane is visible when the editor dijit creates, it loads fine.??????Code for editorWidget createEditing: function(fArray){ var layers = dojo.map(fArray, function(layer) { var fieldInfos= dojo.map(layer.fields,function(field){ if(field.name === 'description'){ return {'fieldName': field.name,'label':'Details'}; } else{ return {'fieldName': field.name,'label':field.alias}; } }); return {featureLayer:layer,'fieldInfos':fieldInfos}; }); var settings = { map: map, enableUndoRedo:true, layerInfos:layers, toolbarVisible: true, createOptions: { polygonDrawTools: [ esri.dijit.editing.Editor.CREATE_TOOL_FREEHAND_POLYGON, esri.dijit.editing.Editor.CREATE_TOOL_AUTOCOMPLETE ] }, toolbarOptions: { reshapeVisible: true, cutVisible: true, mergeVisible: true } }; var params = {settings: settings}; editorWidget = new esri.dijit.editing.Editor(params,'editorDiv'); editorWidget.startup(); }
link to livehttp://www.mymanatee.org/gisapps/mapviewer/mobile/mobiletest.html