Select to view content in your preferred language

Editor widget doesn't show the template

633
1
01-29-2013 05:46 AM
demdeberanz
Emerging Contributor
Hi guys,
  I implemented a web application with a map and an editor widget in it to allow the user to draw and store polygons. The editor widget is created but no template appear in it. What's the problem?
The funny thing is that taking an example from the esri web site and modifying it according to the map/feature services I use all work good!

Any clues?

Thank you very much!
0 Kudos
1 Reply
demdeberanz
Emerging Contributor
Hi guys,
  I found out that, even if I correctly call the editorWidget.startup() method after the creation of the editor widget inside the callback function linked to the onLayersAddResult event, I have to call the following sequence of instruction from firebug to make the editor widget work properly.
This is the sequence:
         editorWidget.startup();
         editorWidget.templatePicker.startup();
         editorWidget.startup();


Why have I been getting this behavior?

Thank you very much.
0 Kudos