<?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: Dojo dijit button in 4.x API Popup content in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348391#M32205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That's too bad. Dojo dijits do work in 4.x as I have a couple of apps doing this but there is a proper way to set them up for it. Styling the button is a good option though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2019 20:40:28 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-06-14T20:40:28Z</dc:date>
    <item>
      <title>Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348386#M32200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to use a dojo button in my custom popup content using the newest 4.x API, but it will not render.&amp;nbsp; Other dijit form items like&amp;nbsp;TextBox and CheckBox work fine.&amp;nbsp; See attached picture for what happens.&amp;nbsp; I do not want to use popup actions, the extra header they create takes up too much space.&amp;nbsp; If I remove the data-dojo-type, a regular button renders fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;button&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;data-dojo-attach-point&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"btnSave"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;data-dojo-type&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"dijit/form/Button"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;data-dojo-props&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"iconClass:'dijitIconSave'"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"button"&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;${nls.editprofile.save}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;/button&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 18:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348386#M32200</guid>
      <dc:creator>JoeRogan</dc:creator>
      <dc:date>2019-06-14T18:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348387#M32201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Have you added the claro.css stylesheet and class to the apps body?&lt;/P&gt;&lt;PRE class="language-css line-numbers"&gt;&lt;CODE&gt;&amp;lt;link rel=&lt;SPAN class="string token"&gt;"stylesheet"&lt;/SPAN&gt; href=&lt;SPAN class="string token"&gt;"https://js.arcgis.com/4.11/dijit/themes/claro/claro.css"&lt;/SPAN&gt;&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 18:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348387#M32201</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-06-14T18:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348388#M32202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not using the claro.css, I was only using this one:&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;DIV style="color: #000000; font-size: 14px; font-weight: normal;"&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;link&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;rel&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;href&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"https://js.arcgis.com/4.11/esri/themes/light/main.css"&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 14px; font-weight: normal;"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; "&gt;&amp;nbsp;When I add the claro.css the button renders almost correctly, but the check boxes&amp;nbsp;disappear.&amp;nbsp; It doesn't quite look correct from what I remember of using claro in the past.&amp;nbsp; Is there a conflict between these two?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; "&gt;Thanks for the help,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; "&gt;Joe&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 19:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348388#M32202</guid>
      <dc:creator>JoeRogan</dc:creator>
      <dc:date>2019-06-14T19:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348389#M32203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can I see your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 19:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348389#M32203</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-06-14T19:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348390#M32204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I can't share the code for this app.&amp;nbsp; It seems like the new 4.x themes are not compatible with the dojo dijit theme.&amp;nbsp; I'm going to just use custom styling for this on a regular button element and not use dojo dijit buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 20:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348390#M32204</guid>
      <dc:creator>JoeRogan</dc:creator>
      <dc:date>2019-06-14T20:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348391#M32205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That's too bad. Dojo dijits do work in 4.x as I have a couple of apps doing this but there is a proper way to set them up for it. Styling the button is a good option though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 20:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/348391#M32205</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-06-14T20:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo dijit button in 4.x API Popup content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/1352435#M82870</link>
      <description>&lt;P&gt;Would you so kind to allow to see your examples of using&amp;nbsp;&lt;SPAN&gt;Dojo dijits&amp;nbsp;with 4.x? I try now to make upgrade from 3.36 to 4.* and in my application there is a lot use of dojo and dijits&amp;nbsp;. May be you cancelled to use dojo?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 09:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-dijit-button-in-4-x-api-popup-content/m-p/1352435#M82870</guid>
      <dc:creator>ekleiman22</dc:creator>
      <dc:date>2023-11-22T09:11:37Z</dc:date>
    </item>
  </channel>
</rss>

