9.3.2. Page Policy Properties

A set of properties configure the behavior of the page policy. These properties are only taken into account for objects that use the portal type. The following table represents possible page-policy properties:

Table 9.2. 

Property name Description Possible values
control.page.access_denied when access is denied ignore, jsp and hide
control.page.unavailable when a resource is unavailable ignore, jsp and hide
control.page.not_found when a resource is not found ignore, jsp and hide
control.page.internal_error when an unexpected error occurs ignore, jsp and hide
control.page.error when an expected error occurs ignore, jsp and hide
control.page.resource_uri the path to the JSP used for redirections ignore, jsp and hide

The following page configuration demonstrates the use of page-policy properties:
<page>
   <page-name>MyPortal</page-name>
   ...
   <properties>
      <property>
         <name>control.page.access_denied</name>
         <value>hide</value>
      </property>
      <property>
         <name>control.page.unavailable</name>
         <value>hide</value>
      </property>
      <property>
         <name>control.page.not_found</name>
         <value>hide</value>
      </property>
      <property>
         <name>control.page.internal_error</name>
         <value>jsp</value>
      </property>
      <property>
         <name>control.page.error</name>
         <value>jsp</value>
      </property>
      <property>
         <name>control.page.resource_uri</name>
         <value>/WEB-INF/jsp/error/page.jsp</value>
      </property>
      ...
   </properties>
   ...
</page>

Page Property Inheritance for Objects

When page properties are configured for objects that use the portal type, the properties are inherited by pages in that portal.