+

Search Tips   |   Advanced Search

View state behavior for the Page Builder theme


The Page Builder theme of WebSphere Portal v8.0 has a slightly different view state behavior in the browser than the other portal themes and the themes from previous portal versions.

In this topic...

  1. View state = navigational state.
  2. Render parameters as specified by the standard portlet API
  3. Public render parameters as specified by the standard portlet API
  4. Shared item sets as specified by the iWidget API
  5. Navigational state as specified by the iWidget API
  6. Navigational state as specified by the Mashups Enabler SPI
  7. Shareable parameter sets as specified by the Mashups Enabler SPI.

The browser Back button does not have an undo function. It interacts with the view or navigational state only, but not with the application state.

With regards to the Page Builder theme, the view state can be distinguished into the following two groups:

State Description
Client side view This state consists of the initial state from the time when the page was loaded, and all state changes that happened since then caused by client side interactions that did not cause a page refresh. The actual content of the client side view state depends on the rendering mode of the theme and also on the methods that a portlet or widget used to alter view state.
Preserved view This is the state that might be preserved for a page after actions such as the following:

  • a page reload triggered by a click on the page Refresh button, or a portlet interaction
  • a click to a different page in the navigation
  • a click on the Back button
  • a click on a bookmark.

The preserved state might then be available if the user calls that page again later. This depends on the conditions listed further below. The actual content of the preserved view state depends on the rendering mode of the theme and on the methods that a portlet or widget used to alter the view state. Whether that content is actually available after a page refresh depends on the rendering mode.


Client side mode

Portlets can alter the client side view state by one of following methods:

Portlets can alter the preserved view state by one of following methods:

Widgets can alter the client side view state by one of following methods:

Widgets can alter the preserved view state by one of following methods:


View state behavior in client side rendering mode:

In client side mode the preserved view state is added to the browser history at the moment when the user changes to a different page. When the user navigates to a page, preserved state updates are not part of the history on that page until the user navigates to another page. This results in the following behavior:


Server side mode

Portlets can alter the client side state by one of following methods:

Portlets can alter the preserved view state by one of following methods:

Widgets can alter the client side state by one of following methods:

Widgets can alter the preserved view state by one of following methods:

In server side rendering mode the preserved state of the widgets is stored in a browser cookie.


View state behavior in server side rendering mode for portlet actions:

For portlet actions in server side mode the view state behaves as follows:


View state behavior in server side rendering mode for widget actions:

For widget actions in server side mode the view state behaves as follows:



Parent: Browser behavior and scenarios