private static WeakHashMap applicationToLastRequestDate = new WeakHashMap();
- private List allWindows = new LinkedList();
-
private WeakHashMap applicationToAjaxAppMgrMap = new WeakHashMap();
private WeakHashMap licenseForApplicationClass = new WeakHashMap();
window = application.getWindow(windowName);
if (window == null) {
-
- // If the window has existed, and is now removed
- // send a blank page
- if (allWindows.contains(windowName))
- return null;
-
// By default, we use main window
window = application.getMainWindow();
} else if (!window.isVisible()) {
-
// Implicitly painting without actually invoking paint()
window.requestRepaintRequests();
Window win = event.getWindow();
win.addListener((Paintable.RepaintRequestListener) this);
- // Add to window names
- allWindows.add(win.getName());
-
// Add window to dirty window references if it is visible
// Or request the window to pass on the repaint requests
if (win.isVisible())