<?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: Widget not rendering on reopen. in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876605#M13618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It sounds like you are using dom ids in your widget.html instead of data-dojo-attach-point like you should in templated widgets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 19:48:15 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-11-10T19:48:15Z</dc:date>
    <item>
      <title>Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876604#M13617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing a custom WAB widget that needs to coexist with other widgets in the same application. Currently, I have two widgets, call them A and B respectively.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp; Open widget A &amp;gt; close widget A &amp;gt; open widget B &amp;gt; console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" &amp;gt;close widget B &amp;gt; open widget A &amp;gt; html doesn't render, events are registered.&lt;/LI&gt;&lt;LI&gt;Open widget B &amp;gt; close widget B &amp;gt; open widget A &amp;gt;&amp;nbsp;&lt;SPAN&gt;console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" &amp;gt; close widget A &amp;gt; open widget B &amp;gt; no errors are encountered and widget works as desired.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone experienced a similar problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jacob Nosal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 19:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876604#M13617</guid>
      <dc:creator>JacobNosal</dc:creator>
      <dc:date>2016-11-10T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876605#M13618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It sounds like you are using dom ids in your widget.html instead of data-dojo-attach-point like you should in templated widgets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 19:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876605#M13618</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T19:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876606#M13619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert. Ids are used in widget B. Would that cause widget A to not render?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 19:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876606#M13619</guid>
      <dc:creator>JacobNosal</dc:creator>
      <dc:date>2016-11-10T19:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876607#M13620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could. You should not use dom ids in any templated widget development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 20:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876607#M13620</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T20:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876608#M13621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just purged dom ids from widget B and am having the same problem.Can you recommend a style guide or template structure wiki?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876608#M13621</guid>
      <dc:creator>JacobNosal</dc:creator>
      <dc:date>2016-11-10T21:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876609#M13622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;WAB widgets use the dojo templated widgets Structure. So search for dojo templated widget tutorial. You can also zip up your widgets and I will look them &amp;nbsp;over for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876609#M13622</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T21:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876610#M13623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the Yeoman generator esri-appbuilder-js:widget from the ESRI github. Would that give me the appropriate template? I am reading about the structure of a dojo templated widget right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:34:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876610#M13623</guid>
      <dc:creator>JacobNosal</dc:creator>
      <dc:date>2016-11-10T21:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not rendering on reopen.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876611#M13624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Jacob,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp;Yes I would totally expect it to give you the proper structure. But when you add to the Widget.html you just need to maintain the same practices (meaning no use of don ids). And there is many more best practices when it comes to the Widget.js (like this.own and lang.hitch, etc).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:44:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/widget-not-rendering-on-reopen/m-p/876611#M13624</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T21:44:48Z</dc:date>
    </item>
  </channel>
</rss>

