+

Search Tips   |   Advanced Search

Public Render Parameters

The Public Render Parameter application object provides read and write access to public render parameters. Public render parameters allow portlets to share navigational state information and preserve this information across requests. Use this object in rules when we need the site to store a user's selection as a public render parameter during the action phase and have other portlets read this public render parameter during the render phase. We can write public render parameters from preprocessors and portlets (JSR 168, JSR 286, and legacy IBM portlets) during the action phase. Render parameters are read from anywhere, including preprocessors, themes, dynamic assembly transformation, and portlets, during all phases. Let's apply an example to this definition to highlight how we can use the public render parameters application object in rules that you create on the site.

For example,

Note that we cannot write public render parameters from themes or from update rules.

Note: The Shared Data application object is also used in rules to share data between portal web applications. Use the Shared Data application object, instead of the Public Render Parameters application object, when we need to share complex data.

See: