The Top Page

Previous Next

See Also

When end users access a web application, the state of the web application is stored in JavaScript objects on the client computer. When end users navigate away from a page, these JavaScript objects are destroyed, and the application state will be lost.

To prevent this, all active pages are placed in an iframe element of a static TopPage page that supports the state of the application.

The Top Page property of a page indicates whether this page has the top page status. The default value of this property is No.

The ApplicationPage and the TopPage have this Top Page property set to Yes. This results in a default application that recognizes the state of all its info pages.

The TopPage page is introduced to ensure that there is always an environment to store the JavaScript objects that hold the state of the web application. If a page is opened that does not have the top page status, this page is closed and then opened in the FrameControl of the TopPage.