<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: My custom widget doesn't turn a select into a dijit, what did I miss? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829218#M8120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know, it is strange.&amp;nbsp;&amp;nbsp; I can get this.map to be the esri map object in all of my methods except the one that actually will use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must have a syntax error or something.&amp;nbsp; I will keep digging until I find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="codeMap.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/32102_codeMap.png" style="width: 620px; height: 502px;" /&gt;&lt;IMG alt="codeMap2.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/32103_codeMap2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2014 18:57:33 GMT</pubDate>
    <dc:creator>MichaelJenkins</dc:creator>
    <dc:date>2014-11-21T18:57:33Z</dc:date>
    <item>
      <title>My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829211#M8113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make my first custom widget for the WAB 3 (developer's edition).&amp;nbsp; I started with the CustomWidgetTemplate, moved it to the appropriate folder and I can now see it in my app.&amp;nbsp; It is a simple in panel widget with some text.&amp;nbsp;&amp;nbsp; So far so good.&amp;nbsp; Next I want to add a Select dijit and populate it with a list of city names.&amp;nbsp; I examined the DRAW widget because it uses some select dijits.&amp;nbsp; I followed the HTMl and JavaScript patterns from the DRAW widget to add my Select dijit, but when I run the widget in the app, it shows as a regular HTML select and I can't treat it like a dijit.&amp;nbsp; I think I have all the necessary Dojo requires.&amp;nbsp; What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My widget's HTML&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: Consolas;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;data-dojo-attach-point&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;="selectCity"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;="&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;block&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;height&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;30px&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;margin-bottom&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;7px&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: Consolas;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;="&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;float&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;height&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;30px&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;line-height&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;30px&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;padding-left&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;17px&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;"&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;Select City&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: Consolas;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: Consolas;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;data-dojo-attach-point&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;="citySelect"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;data-dojo-type&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;="dijit/form/Select"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;="&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;float&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;width&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;50%&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: Consolas;"&gt;height&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;30px&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;"&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: Consolas;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: Consolas;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My JavaScript.&amp;nbsp; In this code, I get an error if I uncomment the 'citySelect.addOption' line because it says this.citySelect is undefined.&amp;nbsp;&amp;nbsp; If I access this.citySelect from the console, it shows as an HTML select, not a dijit.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="widgetcode.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/31658_widgetcode.png" style="width: 620px; height: 539px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 00:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829211#M8113</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-20T00:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829212#M8114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The issue I see in your code is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14164501416634865 jive_text_macro" jivemacro_uid="_14164501416634865" modifiedtitle="true"&gt;
&lt;P&gt;return declare([BaseWidget], {&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14164501856037719 jive_text_macro" jivemacro_uid="_14164501856037719" modifiedtitle="true"&gt;
&lt;P&gt;return declare([BaseWidget, _WidgetsInTemplateMixin], {&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 02:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829212#M8114</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-20T02:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829213#M8115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it, thanks a lot!&amp;nbsp;&amp;nbsp; For anyone else reading this, the CustomTemplateWidget provided with the WAB doesn't include that line, and it seems to me it probably should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert, would you say that _WidgetsInTemplateMixin will always be needed in that return statement when building custom widgets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:25:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829213#M8115</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-20T17:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829214#M8116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Actually No. It will only be need if you are using dojo dijits in your custom widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829214#M8116</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-20T17:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829215#M8117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that in in the WAB documentation, so kudos to Esri for putting that in there and thanks again Robert for helping me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://doc.arcgis.com/en/web-appbuilder/extend-apps/define-the-template.htm" title="http://doc.arcgis.com/en/web-appbuilder/extend-apps/define-the-template.htm"&gt;Define the template—Web AppBuilder for ArcGIS (Beta) | ArcGIS&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 23:00:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829215#M8117</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-20T23:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829216#M8118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a related follow-up question.&amp;nbsp; Do I need to do anything special or include something that I haven't in order to access the map object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar to my OP, when I reference&lt;STRONG&gt; this.map&lt;/STRONG&gt; I am getting the HTML element with id="map", not the esri map object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 00:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829216#M8118</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-21T00:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829217#M8119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight from the WAB widget development doc.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Web AppBuilder for ArcGIS is a map-centric application. It provides a map property defined in the BaseWidget class to access the map. You can access the map property through this map. The widget’s map property is a type of esri.Map from ArcGIS JavaScript API, configured in the config.json file. You can access all map features provided by ArcGIS JavaScript API. Code the widget the same as writing a regular ArcGIS JavaScript application.&lt;/P&gt;
&lt;P&gt;When a widget instantiates, the map passes into it. As a result, you can access a map property in the postCreate or startup methods.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 04:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829217#M8119</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-21T04:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829218#M8120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know, it is strange.&amp;nbsp;&amp;nbsp; I can get this.map to be the esri map object in all of my methods except the one that actually will use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must have a syntax error or something.&amp;nbsp; I will keep digging until I find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="codeMap.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/32102_codeMap.png" style="width: 620px; height: 502px;" /&gt;&lt;IMG alt="codeMap2.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/32103_codeMap2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 18:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829218#M8120</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-21T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829219#M8121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Is _displayCity being called before startup is executed? The map will not be a map object until startup has completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 19:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829219#M8121</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-21T19:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829220#M8122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope,&amp;nbsp; _displayCity is not called until the user has selected from the dropdown list, which is not only well after startup, it is called right after _zoomToCity which access the map properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my console screenshot above you can see the order.&amp;nbsp; Whenever it shows [object object] then it is the map object.&amp;nbsp; when it hits _displayCity it changes to a DIV called map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 19:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829220#M8122</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-21T19:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829221#M8123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The only thing that I can think of then is that _displayCity has a different scope and thus the keyword this has a different meaning. Are you using lang.hitch in your code that calls _displayCity function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 19:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829221#M8123</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-21T19:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829222#M8124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, that was it.&amp;nbsp; I was calling that method directly as the callback function of query.execute, but I understand now why that would make this.map our of context to the called function.&amp;nbsp; Using lang.hitch instead fixed it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a pretty good page that describes JavaScript variable scope and the times to use lang.hitch here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://dojotoolkit.org/documentation/tutorials/1.8/hitch/" title="http://dojotoolkit.org/documentation/tutorials/1.8/hitch/"&gt;Making Functions with hitch and partial - The Dojo Toolkit&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 20:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829222#M8124</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2014-11-21T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829223#M8125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The reason is because query execute is async and its return method has a different scope of this then the rest of the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 21:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829223#M8125</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-21T21:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829224#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eres un genio Robert, gracias me funciono.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 19:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829224#M8126</guid>
      <dc:creator>BladimirAlamilla</dc:creator>
      <dc:date>2015-06-04T19:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: My custom widget doesn't turn a select into a dijit, what did I miss?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829225#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;De nada.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-custom-widget-doesn-t-turn-a-select-into-a/m-p/829225#M8127</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-06-04T20:05:09Z</dc:date>
    </item>
  </channel>
</rss>

