I want to load rich dialogs into a display but I want to allow only one instance for one rich dialog. If a rich dialog is started that is already loaded in the display, then the already loaded rich dialog should be selected. Does anyone have an idea how I can achieve this?

asked 17.07.2009 at 04:55

Benedict%20Groppe's gravatar image

Benedict Groppe
accept rate: 50%

You must implement this on your own. But it is pretty simple. The trick is to delegate the opening of each rich dialog to a central place. For each rich dialog that should be opened, you pass the information to the central location. There you maintain a list or registry of all the rich dialogs that are already open. So, when a new dialog should be loaded, you check in the registry if the dialog is already loaded. If yes, you get already loaded dialog form the registry and select it. If not, then you start the new rich dialog and add it to the registry.


answered 23.07.2009 at 06:54

MichaelD%C3%A4nzer's gravatar image

MichaelDänzer ♦
accept rate: 86%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 17.07.2009 at 04:55

Seen: 1,302 times

Last updated: 17.07.2009 at 04:55