adding a custom tag to the PopupPanel widget

309
3
Jump to solution
08-06-2019 07:17 AM
NatashaManzuiga
Occasional Contributor

Hi, I'm trying to add a custom tag to the PopupPanel ...... the part coloured in black

<div class="esriPopup" style="width: 100%;">
<div class="actionsPane" data-dojo-attach-point="actionsPaneDiv" style="padding-bottom: 8px;">
<div class="actionList" data-dojo-attach-point="actionsListDiv">
</div>
</div>
<div data-dojo-type="dijit/layout/TabContainer" id="tabContainer" data-dojo-attach-point="tabContainerDiv">
<div data-dojo-type="dijit/layout/ContentPane" title="test" id="testTab" >
<div id="delegatesDiv"></div>tab pane #1</div>
</div>
</div>

But I'getting this error:
init.js:115 Error: dijit._WidgetsInTemplateMixin: parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.

Why? ... I'm using LaunchpadTheme.

Thanks,

Naty

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Sounds like you did not add the tab container module to the widget.js define array

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Sounds like you did not add the tab container module to the widget.js define array

View solution in original post

NatashaManzuiga
Occasional Contributor

0 Kudos
GangWang
New Contributor III

Thanks Robert. your solution solved an issue i had with a custom widget developed by one of our clients. 

0 Kudos