One of the biggest problems in session based host-to-Web applications is managing pop-up windows since Web applications window events are not related to server-side code. The Pop-up Window Manager’s main aim is to solve this problem, by providing a clear API for managing pop-up Web windows on the server and client-side.
This feature provides the following solutions:
Two objects (gx_window and gx_window.opener
), with the
same methods on the server and client-side, for opening, closing, refreshing,
updating etc. Web windows.
Natural integration within the ApplinX framework, so when a host window is recognized, a proportionate matching Web window is opened.
The window object is independent from the ApplinX JavaScript engine.
Different pages for instant windows ( instantWin.jsp (JSP) /instantWin.aspx (.NET)), for different designs (without page templates for example).
Provides server-side events for client-side events, as follows:
Server-side code event for the pop-up window close event, to allow synchronization with the host.
Server-side code event for main window close event, to allow closing the host session.
Main window refresh event called when the pop-up window is closed (can be canceled).
ApplinX framework provides User Exits for canceling Web window openings (when you are not interested in displaying a host window as a Web window), or changing the default opening window size.
ApplinX framework provides User Exits (gx_changeNextForm
)
for opening a non-host window as a Web window.
Pop-up windows are modal, so the user cannot perform any action on the main window, which may cause synchronization problems.
Allows you to perform updates from a pop-up window to the main window using client-side code, server-side code or main window refreshing.
Solves the browser “flickering” affect. After pressing a host key, causing a minor change to the screen, the screen will display this minor change, without seemingly reloading the entire page (i.e. without the user seeing the “flicker” affect).
This feature uses a frameset file (gx_container.jsp (JSP)/gx_container.aspx (.NET)) to perform submits from the left part of the frameset to the right part, and back. This way, first the Submit is performed, and then if the host contains a window, it will be opened as a Web window. The gx_window represents the pop-up windows' API. Each gx_window object has access to its opener window which is also a gx_window object, and this way a pop-up window can access, modify, etc. its opener window both on the client and server-side. For example, gx_window.opener.refreshPage(), will refresh the opening page if the current window is an opener.