[Dojo-interest] ContentPanes and DnD

Anu toanew at yahoo.com
Sat Apr 8 17:16:35 MDT 2006


Another thing I noticed is that if I have a
contentpane definition like: 

<div id="tab1" executeScripts="true" widgetId="tab1_1"
dojoType="ContentPane" refreshOnShow="true" label="Tab
1" href="doc0.html"></div>

and in doc0.html, I have widgets and a Javascript
function. The widgets get loaded, but the script
doesn't get called.

Is there a work around for this?

Thanks!!!

--- Bill Keese <bill at dojotoolkit.org> wrote:

> Anu wrote:
> > I have a content pane ... There is an
> > event connection which initializes the DnD once
> the
> > pages loads: 
> >  dojo.event.connect(dojo, "loaded", "init");
> > 
> 
> Usually this kind of problem happens because you are
> calling 
> dojo.event.connect() after the loaded event has
> already occurred.  Not 
> sure if that is your problem or not.
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo-interest at dojotoolkit.org
>
http://dojotoolkit.org/mailman/listinfo/dojo-interest
> 



More information about the Dojo-interest mailing list