4.12.3 Parameter summary

There are four types of parameters that can be specified in the deployment descriptors.

Parameter Name
Location
Visibility
Programmatic Access
Runtime Accessibility
Context- Param
web.xml - web app definition
Every portlet deployed in the .war
PortletContext.getInitParameter()
Read-only
Init-Param
web.xml - servlet definition
Each portlet based on the particular servlet
PortletConfig.getInitParameter()
Portlet.getInitParameter()
Read-only
Context- Param
portlet.xml concrete app definition
All portlets defined in a single concrete app
PortletApplicationSettings. getAttribute()
Read/Write
Config- Param
portlet-xml concrete portlet definition
Individual Concrete portlets
PortletSettings.getAttribute()
Read/Write


Redbooks
ibm.com/redbooks