dojo 1.8: Error: Tried to register widget with id==main_bContainer but that id is already registered

后端 未结 1 1495
半阙折子戏
半阙折子戏 2021-01-22 09:44

Hi I have a simple one as shown below that displays bordercontainer and contentpane. I do not understand why the bordercontainer\'s id is registered twice since I only have one

相关标签:
1条回答
  • 2021-01-22 09:58

    Becuase you have parse() its 2 times.

    Here dojoConfig = { parseOnLoad: true };

    and here parser.parse();

    Just parse only one the problem will solve.

    0 讨论(0)
提交回复
热议问题