modal-dialog

Retrieve input entered in a JDialog

I extended JDialog to create a custom dialog where the user must fill some fields : How should I retrieve the data entered ? I came up with a solution that works. It mimics JOptionPane but the way I do it looks ugly to me because of the static fields involved... Here is roughly my code : public class FObjectDialog extends JDialog imp...

ModalViewController causing another method to be run... WHY?

Hi there.. I have a modalViewController that pops up and displays another view. My problem is that when this happens, another button on my screen is also pressed, and it does that action while the MVC is being shown. I tried a mail message VC, with the same results.. What could it be? Things to check please? Im stumped. ...

How to load jQm modal on page load?

Hi I am using jQm Window to load modal window. http://dev.iceburg.net/jquery/jqModal/#how i am trying to jqmShow Show jqModal element(s). $('#dialog').jqmShow(); $('.dialogs').jqmShow(); but it throws some JS error, but it does not load on the page load, please guide me for the same. TIA ...

Broken flash movie player! allowFullScreen does not work with anything other than a wmode value of "window" (the default)

I have a flash player on a page which plays videos. I also have modal popups (made out of div elements) which need to be able to display over the top of the flash player when they are opened, etc... I can't change either of these requirements since they are part of the spec I have been given. Flash seems to ignore z-indexes I set on it ...

jQuery + Simple Dialog

Hi, I have a jQuery Model windows which contains a form. On creating of the page, I'm able to see the fields although in my dialog, i have set autoOpen to false. All the forms are in a div. a sample of my dialog looks like this: $("#dialog-form").dialog({ autoOpen: false, height: 460, ...

Jquery UI modal dialogs

Hi All. I have a problem with Jquery UI modal dialogs. I have modal dialog (dialogA), which can create another modal dialog (dialogB). After the second creation and closure of the dialogB the overlay of dialogA disappear. Here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x...

Actionscript 2.0 mx.managers.CreatePopUp dialog triggers onRollOver for events underneath it

All, On the main stage I have a button that is highlighted on rollover. I am using mx.managers.CreatePopUp to create a dialog box that pops up and takes user information. When the dialog box appears above the button, mousing over the dialog box triggers the highlight for the button beneath it. Can you provide some suggestions as to wha...

WinForms modal windows alt+tab problem

Hi ! Suppose multiple Modal Windows shown above each other. All of those have ShowInTaskbar = false, which means that in the TaskBar you only see the MainForm and all Modal Windows are hidden. Now you press ALT+ TAB and the most upper modal Windows disappears. But you cannot get it back in front. How should be this done correctly in...

Top modal form close in nested modal forms closes all other modal forms?

When form A is modal and it displays a second modal form B, and the modal result for B is set and B then closes, A is also closed. How can this be prevented? ...

How do I keep a dialog box always on top?

I created a dialog box like this: String response = JOptionPane.showInputDialog(null,"message","title",JOptionPane.PLAIN_MESSAGE); I'd like to keep it always on top of all windows. Do you have any idea? Thanks! ...

Javascript Like Modal Window for WinForms.

Does anybody know a good Modal Window control sort of like the ones used in Javascript but available for WinForms (C#) with the transparent background and all. Example in Javascript http://okonet.ru/projects/modalbox/ Something like ModalCoolForm f = new ModalCoolForm(); f.ShowDialog(this); ...

Usable mainmenu when sheet is shown

How does one react to menuitems that are clicked via mouse or invoked via keyboard, e.g: CMD+Q ? [NSApp beginSheet:my_sheet ...arguments... ]; /* The sheet is now shown and the mainmenu isn't usable. How does one make it usable? */ [NSApp endSheet:my_sheet returnCode:0]; ...

modal forms and shared data,

I've written a couple of c# forms applications which use a lot of the same data/objects which would better be combined. I realise I could use modal forms to launch each of these but where should I state .dll's and other resources, on the parent form? or on each other form where necessary? ...

ASP.NET MVC search box: use modal popup or inline div or redirect to another page?

I have a view with a textbox and a search button, eg CustomerTextBox and CustomerSearchButton. The list of customers is too long to display in a dropdown, and there has to be advanced search functions anyway. What is the best practice in MVC to handle this case? When the user clicks on the search button, should it: A. Load another ...

SimpleModal load external HTML page in dialog

Is it possible to load an external HTML file into a variable and then use this variable to load the SimpleModal dialog? Something like this: $(document).ready(function($) { var externalPage $.get("Renderer.htm"); $('#basic-modal .basic').click(function(e) { $(externalPage).modal(); return false; }); }); A...

JQuery Confirmation Dialog

I have used the jQuery dialog code so that I can prompt my user. Is there a way to catch if the user clicks the close button (the 'X' in the top right? Thanks. ...

Toast versus Dialog boxes: which to use when?

The answer could be subjective. The answer could be intuition. And I guess the answer could be found from the traditional modal versus non-modal debates. But in general how do you generally decide which one to go for? What are their use cases? Thanks. ...

How to keep window on top

I am wondering if there is an easy way to keep this popup window (span) JPicker (built on JQuery) on top of other modal windows or divs? Zindex, is there a way to make sure the zindex is always on top? Thanks ...

Poll database using jQuery/Ajax

Hi guys, I am trying to use jQuery (latest version) & ajax to poll a mysql db every x seconds, post.php does a simple search query on the table and limits to 1 row. (eg SELECT id FROM TABLE LIMIT 1) I've got some other jQuery UI (using v1.8) code that displays some modal/dialog boxes on the screen, simply put if post.php returns someth...

Jquery Modal Dialog disables form elements

Hi, When I set my jQuery dialog to model=true, it disables my form elements inside the dialog and I cannot use them, only the buttons. I have seen examples where the contents of the dialog is declared in the dialog initiation script and then injected. but that is just to bulky for me, I want to be able to create my markup inside the DIV ...