Skip to content

Tried to register widget with id==mainContainer but that id is already registered #1

Description

@vxpert

Hi cepa...

Thanks for your samples.. my whole app is based on your mvc sample. As now i want some logging that will be same for all design. mean fix layout on top and left and bottom side and

http://demos.dojotoolkit.org/demos/parserAutoRequire/demo.html exactly fullfil my needs.. so i want to integrate your mvc sample with this one.

what i did is .. i put your index scripts.. dojo config and styles in demo.html of above link but As of dynamic content loading... parseOnLoad: true .. so following error occurs

dojo/parser::parse() error Error: Tried to register widget with id==mainContainer but that id is already registered...

if i made changes parseOnLoad: false.. app works .. but your form is not loaded/rendered in view and following issue occurs in form controller

contentPane.set('content', template({
formId: controller.formId,
postUrl: controller.postUrl,
entity: controller.entity
}));

TypeError: Cannot read property 'set' of undefined..

Can you please give me some direction to resolve issue oor how i integrate that design....

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions