Creating a Dialog Window
RunMyProcess allows users to include the jQuery libraries in their projects, in order to ease the client side development and to improve the user experience. One of the benefits provided by the use of jQuery is the possibility to add a RunMyProcess component into a modal window.
How can I use it?
-
Create the component that you want to deploy inside the window. This component could be any widgets but we recommend to use a custom widget or a splitted widget. We also recommend that you make the widget invisible at start and turn it visible using the Javascript method
setVisible
to improve the user experience. Otherwise, the component will briefly appear as a component of the interface before turning into the dialog window. -
Set an ID to the component.
-
Include the jQuery libraries to the web interface.
- jQuery 3.4.1
- jQuery UI 1.10.1 (or later versions)
-
Configure the dialog window in a Javascript widget following the example below.
Configuration instructions:
1 2 3 4 5 6 7 8 9 10 11 |
|
To close the window, use the following instruction
1 |
|
See the jQuery dialog windows documentation for more information.
Please give details of the problem