Table of Contents Previous Section

Controlling Component State

As mentioned previously, a WOComponent can represent a portion of a page (as with reusable components) or a complete page. State associated with the component is generally stored in the component object's instance variables and so persists for the life of the object. Component objects exist within a particular session and are stored along with the session object between each cycle of the request-response loop. Since a user can visit many pages during a session, managing component state can be crucial to reducing your application's storage requirements.

Table of Contents Next Section