[ng-dhtml] [Dojo-checkins] cal - r1909 - in trunk:src/widgettests/widget
Scott J. Miles
sjmiles at turbophp.com
Wed Oct 26 15:51:15 CDT 2005
>> if i comment out lines 243-261 of DomWidget.js ... then everything works
It looks like a fine solution IMO.
>> I don't understand why this works
I believe the component creation code already builds the components in place
and more or less works as you would expect.
>> or what it must be breaking
It looks like the original idea was to allow controlling the 'insertion
points' for child widgets via properties. I much prefer your solution, but
that's just my $0.02.
From: NG-DHTML-bounces at netwindows.org
[mailto:NG-DHTML-bounces at netwindows.org] On Behalf Of Cal Henderson
Sent: Wednesday, October 26, 2005 12:16 PM
To: the Dojo project contributor's discussion list
Subject: Re: [ng-dhtml] [Dojo-checkins] cal - r1909 - in
Cal Henderson <cal at iamcal.com> wrote:
: so here's what seems to be going wrong with sub-component parsing.
so here's something odd. if i comment out lines 243-261 of
DomWidget.js that tries to insert child components nodes into the
parent, then everything works good in a nesting and component creating
i don't understand why this works, or what it must be breaking, but
all of the pane tests work correctly with that block commented out.
when we're doing a sub-component parse and we're parsing child nodes,
there doesn't seem to be any reason to try and re-attach the child
nodes. i imagine that code must be for something else, such as
creating child components at runtime?
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 10/25/2005
More information about the NG-DHTML