users@woodstock.java.net

Re: Modal Dialog in 4.1.1

From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
Date: Mon, 03 Mar 2008 16:59:57 -0500

If you view the HTML source, you should see a script tag for the
dijit-all.js or dijit-all.js.uncompressed.js (in debug mode) files. I've
confirmed that these files contain the "dijit.Dialog" source, but I
cannot explain why the dojo widget is not rendered. Note that
parseOnLoad is used by Woodstock 4.2 to control when widgets are rendered.

Dan

Steven Bell wrote:
> Hello,
>
> I'm trying to create a modal dialog using a div with
> dojoType="dijit.Dialog". If I use parseOnLoad="true" I get the error
> message "Could not load class 'dijit.Dialog'." I know with 4.2 I'll
> have to bring in the dojo library manually to do this, but I thought
> with 4.1.1 is was already available (with the proper head tags). I've
> also tried with dijitAll="true", but that doesn't seem to do anything.
>
> I'm I missing anything obvious here?
>
> As a side note a modal dialog is probably something that will be
> fairly common. It would seem like a good candidate to be it's own
> woodstock component. If that's not on the roadmap already maybe I'll
> log an enhancement to get it added.
>
>