The Genero Browser Client (GBC) user interface can work with applications that use stacked windows.
Before you begin
Start the standalone dispatcher from the command line using httpdispatch
.
$ httpdispatch
TIP: Launch the Genero Workplace Window to ensure an environment suitable for Genero commands.
Open the demos application in your browser by entering the URL: http://localhost:6394/ua/r/gwc-demo
.
Stacked windows demonstration
This demonstration provides you with the steps to explore working with stacked windows in GBC, using the Demos application.
Imagine an application's window stack is composed of several windows: W1, W2, ..., Wn. The GBC only displays the window at the top of the stack - the current window. The other windows are not displayed, but you can access them from the Window list.
In the Topic tree of the demo directory, navigate to User Interface >> UI Basics>> Windows. Double-click on the demo CurrentWindow1 in the right-hand panel. The window at the top of the stack (Window w3) is displayed.
Click on the Window list to see the windows in the stack:
- Window w3
- Window w2
- Window w1
- screen
To set an active window, click on one of the Test menu buttons (w1, w2, w3, or screen). The selected window is made current and brought to the top of the stack. The Is current field displays "YES" for the current window, and the window name is displayed in the application title bar.
In the Window list, select one of the other windows.
- If the selected window is the current window, the Is current field value is "YES" and the Test menu panel is displayed.
- If the selected window is not the current window, the Is current field value is "NO" and the Test menu panel is not displayed.