Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8466331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:18:35+00:00 2026-06-10T15:18:35+00:00

I am working on upgrading a web app from dojo 1.5 to 1.8 (or

  • 0

I am working on upgrading a web app from dojo 1.5 to 1.8 (or 1.7.3). This app has several custom templated widgets that inherit from dijit.Dialog. I am finding that these don’t render correctly at all. For an example, see http://jsfiddle.net/tinyels/XhrWF/1/

If you set it to dojo 1.5 or 1.6 it lays out correctly. In 1.7, it won’t even show(). In 1.8, various attachpoints are missing and buttons don’t work. Inspecting it in a debugger shows that it only has the some attachpoints (titleBar, titleNode, closeButtonNode, closeText, containerNode, gridContainer) and is missing several such as btnGo.

What changes do I need to make to the widget (or it’s template) to get it to work in newer versions of Dojo?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:18:36+00:00Added an answer on June 10, 2026 at 3:18 pm

    I think that widgetsInTemplate does not work anymore in Dojo 1.7+. Your template is not parsed at all. You can manually call dojo.parser.parse(this.containerNode) (e.g. in postCreate), but you will be missing dojoAttachPoint and dojoAttachEvent generated references.

    The Dojo 1.7+ way of having widgets in a template is to subclass dijit/_WidgetsInTemplateMixin, in your case:

    dojo.require("dijit._WidgetsInTemplateMixin");
    
    dojo.declare("imed.widgets.DapDialog", [dijit.Dialog, dijit._WidgetsInTemplateMixin], {});
    

    and all should work as before. Try it at jsFiddle: http://jsfiddle.net/phusick/UEXmF/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on an iPhone app that has a feature of uploading
A Django app that I am working has an Event model. An Event may
I am upgrading a web app from ASP.NET 3 Preview 1 to the RTM
I'm working on upgrading a Codeigniter app I have running on 1.7.2 to 2.0.3
I am working on a blog site, upgrading it to MVC3. I have this
I work on a Java web based app that uses both Jackrabbit and Hibernate
I have a working process, behind a web application, that is generating some records
I am currently working on configuring my CakePHP (1.3) based web app to run
I'm working on a web.py app for uploading files and im having real problems
I've been working on a web app using the CodeIgniter framework and I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.