Client-side and server-side page rendering modes

The Page Builder theme supports two rendering modes. These are referred to as client-side and server-side aggregation modes.
Client-side mode


Server-side mode


Theme element handling of rendering mode

To render the portal theme, the same theme elements are used in both rendering modes. In general, you can write navigation iWidgets to fire a SWITCH_PAGE event. The internal JavaScript NavigationController of the theme determines the current rendering mode of the page and processes the event appropriately.


Activating page rendering in client-side mode

To activate the client-side mode by using the iWidget standard, you need to do the following two things:

  1. Change the page theme to one that uses client side rendering.

  2. Set the render type to client-side mode by using one of the following two ways:

    • By using the Page Properties portlet:

      1. Select Edit Page Properties either from the Actions menu in the theme, or from the Manage Pages administration portlet.

      2. Find the radio button group for Page Rendering Mode and select Client-side rendering mode.

      3. Click OK to save changes.

    • By setting the appropriate page metadata on the page.

For example, you can do this by using WebDAV and the following content model URL:

http://my_server:portal_port/wps/mycontenthandler/dav/contentmodel/wps.content.root/metadata.properties

Make sure the following two lines have been added:

com.ibm.portal.rendertype=iwidget 
com.ibm.portal.rendertype.version=2.0


Parent

The Page Builder theme

 


+

Search Tips   |   Advanced Search