<?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: Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229634#M6210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Drew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The DrawBox Dijit and related css rules has changed a bit in 1.2. In 1.1 the selected drawing tool use to get the "selected" class rule applied. Now in 1.2 it is the "jimu-state-active" class rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The DrawBox dijit now has a deactivateAfterDrawing proprty that is defaulted to true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am not sure what affects this would have on your theme but they affected a couple of my widgets that used the DrawBox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2015 20:37:04 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-09-10T20:37:04Z</dc:date>
    <item>
      <title>Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229633#M6209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently updated our code base to the &lt;STRONG&gt;1.2&lt;/STRONG&gt; builder and viewer. I am having some issues with the default Measure and Draw widgets (the only 2 out of the box widgets I use).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the buttons do not stay activated and the drawtool code deactivates instantly. When I click on the draw button the css class "jimu-state-active" gets added to the element but the instantly gets removed.&amp;nbsp; Something&amp;nbsp; in the 1.2 code has changed and I am having difficulties trying to figure it out.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note this is only happening in &lt;STRONG&gt;our custom theme&lt;/STRONG&gt; we have built in house and not in an ESRI theme. There must be some event I need to add to my theme code or something..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 19:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229633#M6209</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2015-09-10T19:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229634#M6210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Drew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The DrawBox Dijit and related css rules has changed a bit in 1.2. In 1.1 the selected drawing tool use to get the "selected" class rule applied. Now in 1.2 it is the "jimu-state-active" class rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The DrawBox dijit now has a deactivateAfterDrawing proprty that is defaulted to true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am not sure what affects this would have on your theme but they affected a couple of my widgets that used the DrawBox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 20:37:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229634#M6210</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-09-10T20:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229635#M6211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you click drawtool on Draw widget, the drawToolBar will be activated, then you can draw a geometry on map. After you finish drawing, darwToolBar will be deactivated. This is by design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to draw graphics continuously, you need to add the following line of code in Query/Widget.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/126412_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 07:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229635#M6211</guid>
      <dc:creator>QunSun</dc:creator>
      <dc:date>2015-09-11T07:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229636#M6212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give details information about Measurement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 08:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229636#M6212</guid>
      <dc:creator>ZeZhengLi</dc:creator>
      <dc:date>2015-09-11T08:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229637#M6213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply guys.&lt;/P&gt;&lt;P&gt;As I step though some code I am seeing the deactivate() function being&amp;nbsp; after the item click. &lt;/P&gt;&lt;P&gt;It all stems back to the "onPanelClick" event in the PanelManager class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a few hacks when creating our theme and I think I have to look how I add widgets to the application.&lt;/P&gt;&lt;P&gt;Basically I was using a shared panel for many widgets and it seems that may not be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 14:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229637#M6213</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2015-09-15T14:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Draw &amp; Measure Widgets not activating in custom theme since 1.2 upgrade</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229638#M6214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have finally figured out it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our theme I was creating a new instance of the PanelManager where I should have been using the PanelManager.getInstance();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple, but stumped me for a long time... Something in 1.2 changed i guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 15:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/draw-measure-widgets-not-activating-in-custom/m-p/229638#M6214</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2015-09-15T15:24:02Z</dc:date>
    </item>
  </channel>
</rss>

