About history management

The Flex History Manager lets users navigate through a Flex application by using the web browser's back and forward navigation commands. For example, a user can navigate through several Accordion container panes in a Flex application, and then click the browser's Back button to return the application to its previous states.

History management is implemented as a set of files that are referenced in the application's wrapper. By default, Adobe Flex Builder generates a wrapper that supports history management. The web-tier compiler included in Flex Data Services also generates a wrapper that supports history management by default. In both cases, you can disable history management support.

If you are using the command-line compiler to create your Flex application, you must create your own wrapper or use one of the wrapper templates. You can customize your wrapper to include support for history management. For more information, see Using history management in a custom wrapper. For information on writing a custom wrapper, see Creating a Wrapper in Building and Deploying Flex 2 Applications.

For Flex components, history management is automatically supported by navigator containers such as the Accordion and TabNavigator containers. You can also use the HistoryManager class in ActionScript to provide custom history management for other objects in an application, and to call the HistoryManager class's methods.


Flex 2.01

Take a survey


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/201/html/historymanager_084_2.html