AnsweredAssumed Answered

Widget not rendering on reopen.

Question asked by Jacob.Nosal on Nov 10, 2016
Latest reply on Nov 10, 2016 by rscheitlin

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. 

 

  •   Open widget A > close widget A > open widget B > console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" >close widget B > open widget A > html doesn't render, events are registered.
  • Open widget B > close widget B > open widget A > console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" > close widget A > open widget B > no errors are encountered and widget works as desired.

 

Has anyone experienced a similar problem?

 

Regards,

Jacob Nosal

Outcomes