Opened 10 years ago

Last modified 10 years ago

#9897 closed defect

Parser doesn't recognize parameters added after first widget instantiated — at Initial Version

Reported by: bill Owned by: bill
Priority: high Milestone: 1.4
Component: Parser Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

This is an edge case, but this doesn't work:

  1. the parser parses a page with a ContentPane, thus caching the list of possible parameters for ContentPane:
    ...
    <div dojoType=dijit.layout.ContentPane>
    ...
    
  1. after ther parse, there's a dojo.require("dijit.layout.BorderContainer"), or TabContainer, etc, some class that adds new parameters to _Widget
  1. parser is called again, to parse another ContentPane that defines the new parameters like region, etc:
    <div dojoType=dijit.layout.ContentPane region=top>
    

I think this actually might be a common case for dojox.layout.ContentPane, when the href-loaded content does dojo.require() calls.

I'll check in a test case along with the fix.

Change History (0)

Note: See TracTickets for help on using tickets.