Login Register

Dialog

confirm dialog frustration

I was kind of surprised to see that
a rich library like dojo does not come with
warning/confirm boxes out of the box.

It's frustrating if you build an application
use nice dialogs and then when you need
a confirm dialog - an essential element of a dialog -
you have to stop:

a) There is nothing that dijit or dojo provide as
far as something similar to the std javascript alert/confirm

b) you cannot build it because dialogs are not meant to be
opened on top of other dialogs.

Unfortunately that's a common use case:

eg open dialog. press a button to trigger an action.

Dialog does not suspend events on Firefox

I have defined some hotkeys via dojo.connect

When I show a dialog I assume all connected events to be suspended.

eg:I want to open an Opendialog with Ctrl-O and then want
to deactivate the Ctrl-O event until this dialog is hidden.

This works great on IE out of the box but fails on FFox, which keeps all events alive.

Anybody has a workaround or fix for this?

Thanks,
Horst

Dialog show/hide animation

Hi,
I'm having a little problem with dialog I'm using. This dialog is invisible most of the time, and brought up when specific events occur, using .show() (and then going back to invisibility using .hide())
I could control the color of the dialog as it opens (the color of the animated popping dialog) by setting the explodeSrc (so the zoom-in color is set by the color of the explodeSrc div), but the color of the zoom-out is not affected by that. Do you know how can I change the zoom-out animation color?

Thanks in advance.

Dialog not refreshing / using cache data

I have a dijit dialog form which is used for data entry. Once the user clicks OK the data is written to a database and the dialog is closed (using HIDE method). However when I click the dialog button again, it still shows the previous data entered... it is still accessing the cache however I have set the refreshOnShow & preventCache attributes for the dialog:

And I close the dialog as follows:

dijit.Dialog, Smooth loading

Hi! I'm building a CMS with lots of forms in dialogs. Its working great, but I'm a bit concerned abaout the flickering going on when a dialog is rendered. First it opens with a loading message, then when the content is loaded the dialog is being centered and correctly aligned. Then the parsing takes place and one can see the form objects being rendered leading to more flickering.

Show PDF in dijit.Dialog

I can show regular forms inside a dijit.Dialog. How do I display a pdf file inside a Dialog? Thanks!

Creating a floating modal dialog with a combo box embedded inside it

Hey,

I'm trying to create a floating modal dialog which contains a combobox with autocompletion enabled. I cannot use markup so I have to do this programmatically. Here's the code I'm using.

@import url ("http://o.aolcdn.com/dojo/1.2.0/dojo/resources/dojo.css");
@import url("http://o.aolcdn.com/dojo/1.2.0/dijit/themes/tundra/tundra.css");

Portlet Layout Edit Page

 

Working TabContainer from scratch?

I'm under a restriction to have an xhtml compliant design time page.
Therefore I have a single empty div as a placeholder for the dialog control I want to create.
I need tab containers inside this dialog and i need to create it all within javascript and get it in that div.
I have tried many different combinations of addChild and appendChild but my tab container never shows content. Sometimes it appears as a tiny box other time its a bar across the top of the area in firefox.

Has anyone gotten this done or seen this issue?
Any help would be greatly appreciated.

FloatingPane Inside a Dialog

I have a dialog that needs to open a floatingpane.

It opens fine, but the input fields will not accept any keyboard input.

Do I need to set the parent Dialog's _onKey event to null?

Basically whats the best way to accomplish this ?

TIA

Jeff

Syndicate content