provider element

Describes object implementing interface:
oracle.portal.provider.v1.Provider
Known concrete implementations
oracle.portal.provider.v1.http.DefaultProvider
Document element
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which implements the oracle.portal.provider.v1.Provider interface, e.g. oracle.portal.provider.v1.http.DefaultProvider.

Usage with class oracle.portal.provider.v1.http.DefaultProvider

Syntax
<provider class="oracle.portal.provider.v1.http.DefaultProvider">
  <session>boolean</session>
  <useOldStyleHeaders>boolean</useOldStyleHeaders>
  <portlet>
    ...
  </portlet>
</provider>
Simple Elements
Optional
NameTypeDefaultDescription
sessionbooleantrueDefines whether this provider should create/start a (servlet) session in its initSession method.
useOldStyleHeadersbooleanfalseSpecifies whether or not PortletRendererUtil should render headers and footers for this provider's portlets in the style used by a 3.0.6 portal or earlier, rather than the style used by a post-3.0.6 portal. If your provider is running against a 3.0.6 portal or earlier version, it is recommended that you specify this tag with a value of true.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
portlet0 or moreoracle.portal.provider.v1.Portlet.

portlet element

Describes object implementing interface:
oracle.portal.provider.v1.Portlet
Known concrete implementations
oracle.portal.provider.v1.http.DefaultPortlet
May be a child of a
provider
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which implements the oracle.portal.provider.v1.Portlet interface, e.g. oracle.portal.provider.v1.http.DefaultPortlet.

Usage with class oracle.portal.provider.v1.http.DefaultPortlet

Syntax
<portlet class="oracle.portal.provider.v1.http.DefaultPortlet">
  <id>number</id>
  <name>string</name>
  <title>string</title>
  <acceptContentType>mime_type</acceptContentType>
  <defaultLocale>locale</defaultLocale>
  <description>string</description>
  <hasAbout>boolean</hasAbout>
  <hasHelp>boolean</hasHelp>
  <resource>java_class_name</resource>
  <showDetails>boolean</showDetails>
  <showEdit>boolean</showEdit>
  <showEditDefault>boolean</showEditDefault>
  <showEditToPublic>boolean</showEditToPublic>
  <showPreview>boolean</showPreview>
  <timeout>number</timeout>
  <timeoutMessage>string</timeoutMessage>
  <renderer>
    ...
  </renderer>
  <inputParameter>
    ...
  </inputParameter>
  <personalizationManager>
    ...
  </personalizationManager>
  <securityManager>
    ...
  </securityManager>
</portlet>
Simple Elements
Mandatory
NameTypeDescription
idnumberSpecifies this portlet's unique identifier within this provider. It need not be sequential but must be unique within this provider.
namestringDefines the portlet's internal portal name. The name must contain only alphanumeric characters without spaces.
titlestringSpecifies this portlet's display name.
Optional
NameTypeDefaultDescription
acceptContentTypemime_typetext/htmlAdds to the set of mime-types this portlet can render. Currently unused, this will ultimately be used by the portal to determine if the portlet can render appropriately for the target user device.
defaultLocalelocalethe language and country represented by the the Java VMs default localeSpecifies the language this portlet renders by default. The value is the two letter ISO language and country codes expressed as "language.country".
descriptionstringnoneProvides more detail about the portlet. The description is displayed to the user when she views the portlet repository (adds a portlet).
hasAboutbooleanfalseSpecifies whether this portlet can render an about screen.
hasHelpbooleanfalseSpecifies whether this portlet can render a help screen.
resourcejava_class_namenoneNames the Java ResourceBundle class for this portlet, e.g. oracle.portal.sample.devguide.helloworld.resource.HelloWorldBundle. Mutli-language portlets put their Portlet meta-data (title, name, etc) in resource bundles. This tag identifies the resource bundle containing these values. Note: if you use a resource bundle for the Portlet meta-data strings you must not have (default) entries for these strings in the portlet definition.
showDetailsbooleanfalseSpecifies whether this portlet supports the detailed view mode.
showEditbooleanfalseSpecifies whether this portlet supports user customization.
showEditDefaultbooleanfalseSpecifies whether this portlet supports default (system) customization.
showEditToPublicbooleanfalseSpecifies whether the public user can customize this portlet.
showPreviewbooleanfalseSpecifies whether this portlet supports the preview mode.
timeoutnumberprovider timeout registered by the administratorDefines the maximum number of seconds the portal will wait for a response from this portlet before timing out.
timeoutMessagestringprovider timeout message registered by the administratorSpecifies the message the portal displays to the user if a response from this portlet times out.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
renderer1oracle.portal.provider.v1.PortletRendererDefines this portlet's renderer.
inputParameter0 or moreoracle.portal.provider.v1.PortletParameterAdds to the set of parameters this portlet recognizes.
personalizationManager0 or 1oracle.portal.provider.v1.PortletPersonalizationManagerDefines this portlet's personalization manager.
securityManager0 or 1oracle.portal.provider.v1.PortletSecurityManagerDefines this portlet's security manager.

renderer element

Defines this portlet's renderer.
Describes object implementing interface:
oracle.portal.provider.v1.PortletRenderer
Known concrete implementations
oracle.portal.provider.v1.RenderManager
Must be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which implements the oracle.portal.provider.v1.PortletRenderer interface, e.g. oracle.portal.provider.v1.RenderManager.

Usage with class oracle.portal.provider.v1.RenderManager

Syntax
<renderer class="oracle.portal.provider.v1.RenderManager">
  <showPage>string</showPage>
  <appPath>virtual_path</appPath>
  <appRoot>physical_path</appRoot>
  <charSet>iana_charset</charSet>
  <contentType>mime_type</contentType>
  <editFormParameter>string</editFormParameter>
  <pageExpires>number</pageExpires>
  <pageParameterName>string</pageParameterName>
  <renderContainer>boolean</renderContainer>
  <renderCustomize>boolean</renderCustomize>
  <showPage>
    ...
  </showPage>
  <aboutPage>
    ...
  </aboutPage>
  <defaultPage>
    ...
  </defaultPage>
  <editDefaultsPage>
    ...
  </editDefaultsPage>
  <editPage>
    ...
  </editPage>
  <helpPage>
    ...
  </helpPage>
  <linkPage>
    ...
  </linkPage>
  <previewPage>
    ...
  </previewPage>
  <showDetailsPage>
    ...
  </showDetailsPage>
</renderer>
Simple Elements
Mandatory
NameTypeDescription
showPagestringRegisters a ManagedRenderer that renders this portlet's "Show" mode. In this 'simple' form, the tag is assumed to describe a 'Page' ManagedRenderer (JspRenderer or FileRenderer) for a page whose name is denoted by the enclosed text, and content type is defined by the contentType tag of the parent tag (or "text/html" if there is no such tag). The specific class of Page ManagedRenderer is decided by the page name - JspRenderer if the name is suffixed with ".jsp" or ".sqljsp", or FileRenderer otherwise. The ManagedRenderer inherits all its other properties from the 'defaults' set at RenderManager level.
Optional
NameTypeDefaultDescription
appPathvirtual_pathnoneSpecifies the default virtual path root used by this RenderManager's 'Page' ManagedRenderers (e.g. JspRenderer and FileRenderer). This default may be overridden for an individual Page ManagedRenderer by defining an appPath within its 'Page' tag (see 'showPage'). This tag must be specified if a 'Page' definition exists that does not define an appPath.
appRootphysical_pathnoneSpecifies the default physical path root used by this RenderManager's 'Page' ManagedRenderers. This default may be overridden for an individual Page ManagedRenderer by defining an appRoot within its 'Page' tag (see 'showPage'). This tag must be specified if a 'Page' definition exists that does not define an appRoot.
charSetiana_charsetUTF-8Defines the default IANA character encoding to be used to decode pages used by this RenderManager's 'Page' ManagedRenderers. This default may be overridden for an individual Page ManagedRenderer by defining a charSet within its 'Page' tag (see 'showPage').
contentTypemime_typetext/htmlDefines the MIME type to be used as the default content type for each ManagedRenderer owned by this RenderManager. This default may be overridden for an individual ManagedRenderer by defining a content type within a 'Page' tag (see 'showPage').
editFormParameterstringDerived from the portlet id.Defines the name of the hidden parameter used on customize forms to hold the submitted 'action' (e.g. "OK" or "APPLY").
pageExpiresnumber0Defines the default expiration time (in minutes) of pages produced by this RenderManager's ManagedRenderers (excluding pages produced in "Edit" or "EditDefaults" mode). If zero, indicates that pages should not be cached by default. This default may be overridden for an individual ManagedRenderer by defining a pageExpires within its 'Page' tag (see 'showPage').
pageParameterNamestringnoneDefines the the default name of the request parameter that is used to override the name of the page used by this RenderManager's 'Page' ManagedRenderers. Used by portlets that render a series of screens to indicate to the RenderManager the request parameter that identifies the "next" page. This default may be overridden for an individual Page ManagedRenderer by defining a pageParameterName within its 'Page' tag (see 'showPage').
renderContainerbooleantrueDefines whether the RenderManager should automatically render the portlet's container (border and title) before and after processing/invoking the page.
renderCustomizebooleantrueDefines whether the RenderManager should automatically render the portlet's container (border and title) in "Edit" and "EditDefaults" modes before and after processing/invoking the page.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
showPage1 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Show" mode.
aboutPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "About" mode.
defaultPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's 'default' page.
editDefaultsPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "EditDefaults" mode.
editPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Edit" mode.
helpPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Help" mode.
linkPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Link" mode.
previewPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Preview" mode.
showDetailsPage0 or moreoracle.portal.provider.v1.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "ShowDetails" mode.

inputParameter element

Adds to the set of parameters this portlet recognizes.
Describes object of class:
oracle.portal.provider.v1.PortletParameter
May be a child of a
portlet
Syntax
<inputParameter class="oracle.portal.provider.v1.PortletParameter">
  <description>string</description>
  <name>string</name>
  <type>portlet_parameter_type</type>
</inputParameter>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which should be either oracle.portal.provider.v1.PortletParameter or a subclass.
Simple Elements
Mandatory
NameTypeDescription
descriptionstringTextual description of the portlet parameter.
namestringIdentifying name for this portlet parameter.
typeportlet_parameter_typeType of the portlet parameter.

personalizationManager element

Defines this portlet's personalization manager. If not specified it indicates this portlet doesn't support personalization.
Describes object implementing interface:
oracle.portal.provider.v1.PortletPersonalizationManager
Known concrete implementations
oracle.portal.provider.v1.FilePersonalizationManager
May be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which implements the oracle.portal.provider.v1.PortletPersonalizationManager interface, e.g. oracle.portal.provider.v1.FilePersonalizationManager.

Usage with class oracle.portal.provider.v1.FilePersonalizationManager

Syntax
<personalizationManager class="oracle.portal.provider.v1.FilePersonalizationManager">
  <dataClass>java_class_name</dataClass>
  <rootDirectory>physical_path</rootDirectory>
  <useHashing>boolean</useHashing>
</personalizationManager>
Simple Elements
Mandatory
NameTypeDescription
dataClassjava_class_nameClass name for this portlet's customization data object, e.g. oracle.portal.provider.v1.PersonalizationObject.
Optional
NameTypeDefaultDescription
rootDirectoryphysical_pathThe provider's application root directory, specified via the "provider_root" initArgSets the path to the filesystem directory under which customization data will be stored for the portlet owning this personalization manager.
useHashingbooleanfalseSpecifies whether the 'path hashing' feature should be used when determining the filesystem path in which to store a customization data file for a particular portlet instance. If the value is false, then all customization data files for a portlet instance will be stored in a single directory corresponding to that portlet instance. If the value is true, then an extra level of directories below the portlet instance directory, with names derived by a hash function of the customization data file name, will be used in order to limit the number of customization data files stored in a single directory.

securityManager element

Defines this portlet's security manager.defines this portlet's security manager. If not specified it indicates this portlet authorizes access to all users.
Describes object implementing interface:
oracle.portal.provider.v1.PortletSecurityManager
May be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which implements the oracle.portal.provider.v1.PortletSecurityManager interface.

showPage element

Registers a ManagedRenderer that renders this portlet's "Show" mode. If multiple showPage tags with different contentType child tags are included, RenderManager will choose the first showPage definition whose content type matches the preferred content type of the incoming render request. This allows a RenderManager to be configured so that it supports 'standard' browsers (e.g. with a "text/html" content type) as well as mobile devices (e.g. with a "text/vnd.oracle.mobilexml" content type).
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
Known concrete implementations
oracle.portal.provider.v1.http.FileRenderer
oracle.portal.provider.v1.http.JavaRenderer
oracle.portal.provider.v1.http.JspRenderer
oracle.portal.provider.v1.http.Servlet20Renderer
Must be a child of a
renderer
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which implements the oracle.portal.provider.v1.ManagedRenderer interface, e.g. oracle.portal.provider.v1.http.FileRenderer, oracle.portal.provider.v1.http.JavaRenderer, oracle.portal.provider.v1.http.JspRenderer, oracle.portal.provider.v1.http.Servlet20Renderer.

Usage with class oracle.portal.provider.v1.http.FileRenderer

Syntax
<showPage class="oracle.portal.provider.v1.http.FileRenderer">
  <name>string</name>
  <appPath>virtual_path</appPath>
  <appRoot>physical_path</appRoot>
  <charSet>iana_charset</charSet>
  <contentType>mime_type</contentType>
  <pageExpires>number</pageExpires>
  <pageParameterName>string</pageParameterName>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
namestringDefines the appRoot relative name of the file used to render the contents of this page.
Optional
NameTypeDefaultDescription
appPathvirtual_pathValue of appPath on parent RenderManagerSpecifies the virtual path root used by this ManagedRenderer.
appRootphysical_pathValue of appRoot on parent RenderManagerSpecifies the physical path root used by this ManagedRenderer.
charSetiana_charsetValue of charSet on parent RenderManagerDefines the default IANA character encoding to be used to decode pages used by ManagedRenderer.
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
pageExpiresnumberValue of pageExpires on parent RenderManagerDefines the expiration time (in minutes) of the page produced by this ManagedRenderer. If zero, indicates that the page should not be cached.
pageParameterNamestringValue of pageParameterName on parent RenderManagerDefines the the default name of the request parameter that is used to override the name of the page used by this ManagedRenderer. Used by portlets that render a series of screens to indicate to the RenderManager the request parameter that identifies the "next" page.

Usage with class oracle.portal.provider.v1.http.JavaRenderer

Syntax
<showPage class="oracle.portal.provider.v1.http.JavaRenderer">
  <className>java_class_name</className>
  <renderMethod>string</renderMethod>
  <contentType>mime_type</contentType>
  <pageExpires>number</pageExpires>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
classNamejava_class_nameDefines the fully-qualified name of the class which will be instantiated to render this page.
renderMethodstringDefines the method name which will be called on an instance of the class named by className to render the contents for this page. The named class must have a method with this given name which takes a PortletRenderRequest as its single parameter.
Optional
NameTypeDefaultDescription
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
pageExpiresnumberValue of pageExpires on parent RenderManagerDefines the expiration time (in minutes) of the page produced by this ManagedRenderer. If zero, indicates that the page should not be cached.

Usage with class oracle.portal.provider.v1.http.JspRenderer

Syntax
<showPage class="oracle.portal.provider.v1.http.JspRenderer">
  <name>string</name>
  <appPath>virtual_path</appPath>
  <appRoot>physical_path</appRoot>
  <charSet>iana_charset</charSet>
  <contentType>mime_type</contentType>
  <pageExpires>number</pageExpires>
  <pageParameterName>string</pageParameterName>
  <parameter>
    ...
  </parameter>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
namestringDefines the appRoot relative name of the file used to render the contents of this page.
Optional
NameTypeDefaultDescription
appPathvirtual_pathValue of appPath on parent RenderManagerSpecifies the virtual path root used by this ManagedRenderer.
appRootphysical_pathValue of appRoot on parent RenderManagerSpecifies the physical path root used by this ManagedRenderer.
charSetiana_charsetValue of charSet on parent RenderManagerDefines the default IANA character encoding to be used to decode pages used by ManagedRenderer.
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
pageExpiresnumberValue of pageExpires on parent RenderManagerDefines the expiration time (in minutes) of the page produced by this ManagedRenderer. If zero, indicates that the page should not be cached.
pageParameterNamestringValue of pageParameterName on parent RenderManagerDefines the the default name of the request parameter that is used to override the name of the page used by this ManagedRenderer. Used by portlets that render a series of screens to indicate to the RenderManager the request parameter that identifies the "next" page.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.utils.v1.NameValuePairDefines the names and values of additional request parameters to be made available from the HttpServletRequest object given to the JSP or servlet used to render this page.

Usage with class oracle.portal.provider.v1.http.Servlet20Renderer

Syntax
<showPage class="oracle.portal.provider.v1.http.Servlet20Renderer">
  <servletClass>java_class_name</servletClass>
  <contentType>mime_type</contentType>
  <pageExpires>number</pageExpires>
  <parameter>
    ...
  </parameter>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
servletClassjava_class_nameDefines the fully-qualified name of the servlet class used to render this page.
Optional
NameTypeDefaultDescription
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
pageExpiresnumberValue of pageExpires on parent RenderManagerDefines the expiration time (in minutes) of the page produced by this ManagedRenderer. If zero, indicates that the page should not be cached.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.utils.v1.NameValuePairDefines the names and values of additional request parameters to be made available from the HttpServletRequest object given to the JSP or servlet used to render this page.

aboutPage element

Registers a ManagedRenderer that renders this portlet's "About" mode. This tag is only required if the portlet enables/supports displaying an about screen. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

defaultPage element

Registers a ManagedRenderer that renders this portlet's 'default' page. This page is used when no ManagedRenderer has been specified for the specific mode of the render request. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

editDefaultsPage element

Registers a ManagedRenderer that renders this portlet's "EditDefaults" mode. If not specified for the preferred content type of the render request and the portlet enables user customization then the editPage must be specified for that content type as it becomes the default. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

editPage element

Registers a ManagedRenderer that renders this portlet's "Edit" mode. If not specified for the preferred content type of the render request and the portlet enables user customization then the editDefaultsPage must be specified for that content type as it becomes the default. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

helpPage element

Registers a ManagedRenderer that renders this portlet's "Help" mode. This tag is only required if the portlet enables/supports displaying help. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

linkPage element

Registers a ManagedRenderer that renders this portlet's "Link" mode. This mode is generally only used by mobile devices to display a link to the Show mode page. Hence the tag should generally be used with the "text/vnd.oracle.mobilexml" content type. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

previewPage element

Registers a ManagedRenderer that renders this portlet's "Preview" mode. This tag is only required if the portlet enables/supports preview. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

showDetailsPage element

Registers a ManagedRenderer that renders this portlet's "ShowDetails" mode. If not specified for the preferred content type of the render request and the portlet enables showDetails then the showPage renderer is used. This tag supports all the properties of the showPage 'complex' tag, and also supports a shorthand 'simple' form, as per showPage.
Describes object implementing interface:
oracle.portal.provider.v1.ManagedRenderer
May be a child of a
renderer

parameter element

Defines the names and values of additional request parameters to be made available from the HttpServletRequest object given to the JSP or servlet used to render this page.
Describes object of class:
oracle.portal.utils.v1.NameValuePair
May be a child of a
showPage
Syntax
<parameter class="oracle.portal.utils.v1.NameValuePair">
  <name>string</name>
  <value>string</value>
</parameter>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which should be either oracle.portal.utils.v1.NameValuePair or a subclass.
Simple Elements
Mandatory
NameTypeDescription
namestringIdentifying name for the parameter.
valuestringValue of the parameter, expressed as a string.