Login Register

Dialog

Floating Panel Problem : Values not copied from parent window

My Requirement is some thing like this...

1.Need to float specific DIV Id from parent window (In Below example : refer div id testId)
2.In my test page , on click of the button , i am changing the value of text box "testinDiv". Once it is changed ,div should with changed value
3.But still I am getting the Older value. ie. instead of "Value Changed Dynamically" , still the value show as "Value Not Changed"

themes for dialog

Hi all.
i tried to use popup dialog (code got from dojocampus.org)

dojo.require("dijit.Dialog");
  dojo.require("dijit.form.TextBox");
  dojo.require("dijit.form.TimeTextBox");
  dojo.require("dijit.form.Button");
  dojo.require("dijit.form.DateTextBox");

Show 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

 

Syndicate content