Skip to end of metadata
Go to start of metadata

Different JSF View Declaration Languages require different behavior from the Portlet Bridge when it comes to rendering views. Instructing the Bridge on which policy to use is done using the javax.portlet.faces.RENDER_POLICY context-param in web.xml.

If you're using Facelets:

Include the following in web.xml:

If you're using JSP:

Include the following in web.xml:

Supported Render Policies in Portlet Bridge:

  • ALWAYS_DELEGATE: Indicates the Bridge should not render the view itself but rather always delegate the rendering.
  • NEVER_DELEGATE: Indicates the Bridge should always render the view itself and never delegate.
  • DEFAULT: Directs the Bridge to first delegate the render and if and only if an Exception is thrown then render the view based on its own logic. If the configuration parameter is not present or has an invalid value the Bridge renders using default behavior. I.e. as if DEFAULT is set.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.