Login Register

what happened to dojo.widget.FloatingPane?

I'm after a Floating window type object that I can create progammaticly from a button click that is NON-BLOCKING. Searching the site it seems the dijit.dialog is not what I'm after as it is blocking and the old dojo.widget.FloatingPane is what I want but I have had a sniff around and can't find it anymore. Is it not in Dijit or can I just modify dijit.Dialog to behave how I like?

there's dijit.Dialog

there's dijit.Dialog modification possibility, there is also a dojox.layout.FloatingPane, but it has some bugs.

Whats the 'dijit.Dialog'

Whats the 'dijit.Dialog' possibility? Instantiate one and then turn off the window locking functionality before activation it? Would be nice if the Dialog object inherited from a more general FloatingPane thing and just did the window locking stuff. Could it be separated/generalized?

I've had a look at the

I've had a look at the dijit.Dialog and I think if I can inherit the class and then override the '_setup' function defined there which is where the dijit.DialogUnderlay gets defined then I can bypass it altogether. I guess I would have to leave a property with the same name in there incase its referenced elsewhere in the object.

I also looked at the dojox.layout.FloatingPane option but it seems to be part of a bigger desktop type thing and has to integrate with a Dock, which is again a very specific use case.

There seems to be common functionality here perhaps pooling efforts and sharing/reusing code would be a good approach?

I've made two Dialog

I've made two Dialog subclasses. I meant to respond to your thread yesterday, but one of them wasn't in the nightly yet:

The HTML version:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/widget/tests/te...

and the other
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/image/tests/tes...

both would be a starting point on working with a Dialog subclass. dijit.Dialog doesn't give you many public things to work with.

Hey, They are both quite

Hey, They are both quite slick! I started to look at other JS Libs to see whats around but none seem as slick as Dojo. Thanks for getting back to me :)