provider element

Describes object of class:
oracle.portal.provider.v2.ProviderDefinition
Known concrete implementations
oracle.portal.provider.v2.DefaultProviderDefinition
Document element
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.ProviderDefinition, e.g. oracle.portal.provider.v2.DefaultProviderDefinition.
Simple Elements
Optional
NameTypeDefaultDescription
prefStoreNamestringName of the first preferenceStore declared for the provider.Selects the default PreferenceStore that should be used by the provider and all its child objects for which a preference store has not been chosen explicitly.

Usage with class oracle.portal.provider.v2.DefaultProviderDefinition

Syntax
<provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
  <cacheLevel trim="boolean">string</cacheLevel>
  <passAllUrlParams>boolean</passAllUrlParams>
  <prefStoreName trim="boolean">string</prefStoreName>
  <providerInstanceClass>java_class_name</providerInstanceClass>
  <rewriteUrls>boolean</rewriteUrls>
  <session>boolean</session>
  <portlet>
    ...
  </portlet>
  <preferenceStore>
    ...
  </preferenceStore>
  <containerRenderer>
    ...
  </containerRenderer>
  <providerBuilder>
    ...
  </providerBuilder>
</provider>
Simple Elements
Optional
NameTypeDefaultDescription
cacheLevelstringunspecifiedControls the level of caching used for portlet render requests for portlets belonging to this provider. Cache level can also be specified at the portlet level.

Legal values for cache level are

  • system
  • user
  • session
  • unspecified, i.e. cache level is not explicitly added to the provider definition file.

The cache level for a portlet render request is determined using the following order of precedence:

  • If specified, with cacheLevel, the portlet setting is used.
  • If specified, the provider setting is used.
  • If the provider is registered as "public" then the portlet will be called using the "public" user and cached at the system level.
  • If the provider is registered as "user" and "portal session data" is requested then portlet will be cached at the session level.
  • Otherwise, the portlet will be cached at user level.

passAllUrlParamsbooleanfalseControls whether Portal will pass the requested page's URL parameters to the provider's portlets by default.
  • If true, then each portlet whose definition doesn't explicitly override this setting (with passAllUrlParams) will receive all the (non-system) parameters from the page URL.
  • If false, then each portlet which declares input parameters and doesn't explicitly override this setting (with passAllUrlParams) will only receive values for its declared input parameters and private parameters which have been generated using oracle.portal.provider.v2.render.PortletRendererUtil.portletParameter(). The parameter values will be determined by the usage of the portlet on a particular page.
prefStoreNamestringName of the first preferenceStore declared for the provider.Selects the default PreferenceStore that should be used by the provider and all its child objects for which a preference store has not been chosen explicitly.
providerInstanceClassjava_class_nameoracle.portal.provider.v2.ProviderInstanceDefines the ProviderInstance subclass that implements the provider's behaviour.
rewriteUrlsbooleanfalse

Controls whether or not URL rewriting will be performed on the results of portlet render requests for portlets belonging to this provider.

When true, this tag enables URL rewriting to improve portlet caching.

URL Rewriting can be specified at both the provider and portlet levels. The order of precedence is as follows:

  • If specified, with rewriteUrls, the portlet setting is used.
  • If specified, the provider setting is used.
  • Otherwise, URL rewriting is not performed.

URL rewriting is a technique that allows you to create links or HTML forms without Portal having to send the base URL to the web provider. This means that the URLs, which can vary alot, do not get used as part of the cache key for your portlet. In most cases, this will increase the effectiveness of portlet caching.

For example, you might want to create a link based on the Page URL, but with your own parameters appended to it. If URL rewriting is disabled, the base URL is sent to the web provider, the PDK framework appends your parameters to the base URL and then you include the resulting URL in your portlet.

If URL rewriting is enabled, the base URL is never sent to the web provider. Instead, when you call the methods to create URLs such as UrlUtils.constructHTMLLink, the framework constructs a specially formatted String that you embed in your portlet. This String is then processed by Portal to create the same URL that would have been constructed if URL rewriting was disabled.

In order to enable URL rewriting you may need to make some small changes to your portlet code. You will need to make changes if you are submitting data via an HTML form or if you are appending encoded parameters to a simple link.

In the case of HTML forms, you should use the UrlUtils.htmlFormName method to construct a qualified form name that is unique to the current portlet instance.

In the case of simple links, you should use UrlUtils.constructHTMLLink. This method constructs an entire HTML <a>..</a> tag sequence embedding your link within it.

sessionbooleantrueControls whether the ProviderInstance starts a (servlet) session in its initSession() method.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
portlet0 or moreoracle.portal.provider.v2.PortletDefinitionAssociates with the provider a PortletDefinition object containing the meta data for one of the portlets it owns.
preferenceStore0 or moreoracle.portal.provider.v2.preference.PreferenceStoreAdds to the set of PreferenceStore objects that may be used by the provider for persistent storage.
containerRenderer0 or 1oracle.portal.provider.v2.render.PortletContainerRendererSets the default portlet container renderer.
providerBuilder0 or 1oracle.webdb.provider.v2.builder.BuilderMetaDataSets the ProviderBuilder object that may be used to edit the provider in Provider UI.

containerRenderer element

Sets the default portlet container renderer.

The container renderer is responsible for rendering the portlet container in each of the show modes the portlet supports.

Each portlet can specify its own container renderer and you can specify a default at the provider level to be used by any portlet that does not explicitly specify it's own container renderer.
Describes object of class:
oracle.portal.provider.v2.render.PortletContainerRenderer
Known concrete implementations
oracle.portal.provider.v2.render.ContainerRenderer306
oracle.portal.provider.v2.render.DefaultContainerRenderer
oracle.portal.provider.v2.render.MocContainerRenderer
May be a child of a
provider
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.render.PortletContainerRenderer, e.g. oracle.portal.provider.v2.render.ContainerRenderer306, oracle.portal.provider.v2.render.DefaultContainerRenderer, oracle.portal.provider.v2.render.MocContainerRenderer.

Usage with class oracle.portal.provider.v2.render.ContainerRenderer306

Syntax
<containerRenderer class="oracle.portal.provider.v2.render.ContainerRenderer306">
</containerRenderer>

Usage with class oracle.portal.provider.v2.render.DefaultContainerRenderer

Syntax
<containerRenderer class="oracle.portal.provider.v2.render.DefaultContainerRenderer">
</containerRenderer>

Usage with class oracle.portal.provider.v2.render.MocContainerRenderer

Syntax
<containerRenderer class="oracle.portal.provider.v2.render.MocContainerRenderer">
</containerRenderer>

portlet element

Associates with the provider a PortletDefinition object containing the meta data for one of the portlets it owns. Note that each PortletDefinition added should have a unique id.
Describes object of class:
oracle.portal.provider.v2.PortletDefinition
Known concrete implementations
oracle.portal.provider.v2.DefaultPortletDefinition
May be a child of a
provider
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.PortletDefinition, e.g. oracle.portal.provider.v2.DefaultPortletDefinition.
Simple Elements
Optional
NameTypeDefaultDescription
acceptContentTypemime_typetext/htmlAdds to the set of mime-types this portlet can render.
descriptionstringString under descriptionKey key in resource bundle specified by resourceA short description of what this portlet is. Displayed at design-time along with the name and thumbnail image when a user is choosing to add a portlet to a page.
descriptionKeystringPortletConstants.DESCRIPTIONThe key used to look up the portlet's description in the resource bundle specified by resource.
minEditAuthLevelPUBLIC | WEAK | STRONGSTRONGSets the minimum user authentication level required for the customize link to be displayed in the portlet header. If the authentication level of a user is less than the specified value, the customize link will not be displayed in the portlet header. Value should be one of the following:
  • PUBLIC: User is not logged on and does not have a persistent cookie
  • WEAK: User is not logged on, but is weakly authenticated as a PUBLIC portal user using a persistent cookie.
  • STRONG: User has logged into the portal, and has been authenticated by the login server within the current session.
namestringString under nameKey key in resource bundle specified by resourceThe Portlet's non-unique display name.
nameKeystringPortletConstants.NAMEThe key used to look up the portlet's name in the resource bundle specified by resource.
prefStoreNamestringprefStoreName of the provider.Selects the default PreferenceStore that should be used by the portlet and all its child objects for which a preference store has not been chosen explicitly.
resourcejava_class_namenoneSets the name of the default resource bundle class for this Portlet.
shortTitlestringString under shortTitleKey key in resource bundle specified by resourceShort title of this Portlet. This is the name used when real estate is at a premium such as when rendering a mobile link.
shortTitleKeystringPortletConstants.SHORTTITLEThe key used to look up the portlet's short title in the resource bundle specified by resource.
timeoutMessagestringString under timeoutMessageKey key in resource bundle specified by resourceThe timeout messsage that the portal should use in its response when a request to this portlet times out.
timeoutMessageKeystringPortletConstants.TIMEOUTMSGThe key used to look up the portlet's timeout message in the resource bundle specified by resource.
titlestringString under titleKey key in resource bundle specified by resourceThe title of this Portlet. This is the name that shows up in a portlet's title bar.
titleKeystringPortletConstants.TITLEThe key used to look up the portlet's title in the resource bundle specified by resource.

Usage with class oracle.portal.provider.v2.DefaultPortletDefinition

Syntax
<portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
  <id>number</id>
  <acceptContentType>mime_type</acceptContentType>
  <cacheLevel trim="boolean">string</cacheLevel>
  <callGetPortlet>boolean</callGetPortlet>
  <callIsRunnable>boolean</callIsRunnable>
  <defaultLocale>locale</defaultLocale>
  <description trim="boolean">string</description>
  <descriptionKey trim="boolean">string</descriptionKey>
  <hasAbout>boolean</hasAbout>
  <hasHelp>boolean</hasHelp>
  <minEditAuthLevel>PUBLIC | WEAK | STRONG</minEditAuthLevel>
  <mobileFlags>MOBILE_GENERIC | MOBILE_ONLY | EXTERNAL_SHOW</mobileFlags>
  <name trim="boolean">string</name>
  <nameKey trim="boolean">string</nameKey>
  <passAllUrlParams>boolean</passAllUrlParams>
  <portletInstanceClass>java_class_name</portletInstanceClass>
  <prefStoreName trim="boolean">string</prefStoreName>
  <resource>java_class_name</resource>
  <rewriteUrls>boolean</rewriteUrls>
  <shortTitle trim="boolean">string</shortTitle>
  <shortTitleKey trim="boolean">string</shortTitleKey>
  <showDetails>boolean</showDetails>
  <showEdit>boolean</showEdit>
  <showEditDefault>boolean</showEditDefault>
  <showLink>boolean</showLink>
  <showPreview>boolean</showPreview>
  <timeout>number</timeout>
  <timeoutMessage trim="boolean">string</timeoutMessage>
  <timeoutMessageKey trim="boolean">string</timeoutMessageKey>
  <title trim="boolean">string</title>
  <titleKey trim="boolean">string</titleKey>
  <renderer>
    ...
  </renderer>
  <event>
    ...
  </event>
  <inputParameter>
    ...
  </inputParameter>
  <containerRenderer>
    ...
  </containerRenderer>
  <personalizationManager>
    ...
  </personalizationManager>
  <portletBuilder>
    ...
  </portletBuilder>
  <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.
Optional
NameTypeDefaultDescription
acceptContentTypemime_typetext/htmlAdds to the set of mime-types this portlet can render.
cacheLevelstringValue of cacheLevel on the providerControls the level of caching used for portlet render requests for the portlet. Cache level can also be specified at the provider level.

Legal values for cache level are

  • system
  • user
  • session
  • unspecified, i.e. cache level is not explicitly added to the provider definition file.

The cache level for a portlet render request is determined using the following order of precedence:

  • If specified, the portlet setting is used.
  • If specified, the provider setting is used.
  • If the provider is registered as "public" then the portlet will be called using the "public" user and cached at the system level.
  • If the provider is registered as "user" and "portal session data" is requested then portlet will be cached at the session level.
  • Otherwise, the portlet will be cached at user level.

callGetPortletbooleanfalseControls whether calls to retrieve this Portlet's meta data should be made before displaying it in the portlet repository.
callIsRunnablebooleanfalseControls whether calls to PortletDefinition.hasAccess() should be made to determine whether this portlet is runnable, before displaying it in the portlet repository.
defaultLocalelocalethe Java VM's default localeSets the default Locale for this Portal. The Locale is specified using the standard ISO 2 letter language and country codes, e.g. en.US.
descriptionstringString under descriptionKey key in resource bundle specified by resourceA short description of what this portlet is. Displayed at design-time along with the name and thumbnail image when a user is choosing to add a portlet to a page.
descriptionKeystringPortletConstants.DESCRIPTIONThe key used to look up the portlet's description in the resource bundle specified by resource.
hasAboutbooleanfalseControls whether this portlet displays about information.
hasHelpbooleanfalseControls whether this portlet displays help information.
minEditAuthLevelPUBLIC | WEAK | STRONGSTRONGSets the minimum user authentication level required for the customize link to be displayed in the portlet header. If the authentication level of a user is less than the specified value, the customize link will not be displayed in the portlet header. Value should be one of the following:
  • PUBLIC: User is not logged on and does not have a persistent cookie
  • WEAK: User is not logged on, but is weakly authenticated as a PUBLIC portal user using a persistent cookie.
  • STRONG: User has logged into the portal, and has been authenticated by the login server within the current session.
mobileFlagsMOBILE_GENERIC | MOBILE_ONLY | EXTERNAL_SHOWMOBILE_GENERICSets the portlet's mobile settings. The value can be a concatenation of one or more of the following flag names, separated by "|".
  • MOBILE_GENERIC: placeholder that means this is a default (or generic) portlet.
  • MOBILE_ONLY: this flag indicates the portlet shouldn't be rendered in the desktop viewer. I.e. the portal shouldn't transform this portlet's mobileXML to HTML.
  • EXTERNAL_SHOW: this flag indicates the portlet's show link is "external". I.e. rather then use the page URL to generate a portal relative link to the portlet, an absolute (external to the portal) link is generated. These types of portlets tyipcally won't render when accessed from the mobile viewer. By setting this flag, the portal can provide UI that indicates this to the user.
namestringString under nameKey key in resource bundle specified by resourceThe Portlet's non-unique display name.
nameKeystringPortletConstants.NAMEThe key used to look up the portlet's name in the resource bundle specified by resource.
passAllUrlParamsbooleanValue of passAllUrlParams on providerControls whether Portal will pass the requested page's URL parameters to the portlet.
  • If true, then the portlet will receive all the (non-system) parameters from the page URL.
  • If false and the portlet declares input parameters, then the portlet will only receive values for its declared input parameters and private parameters which have been generated using oracle.portal.provider.v2.render.PortletRendererUtil.portletParameter(). The parameter values will be determined by the usage of the portlet on a particular page.
.
portletInstanceClassjava_class_nameoracle.portal.provider.v2.DefaultPortletInstanceDefines the PortletInstance subclass that implements the portlet's behaviour.
prefStoreNamestringprefStoreName of the provider.Selects the default PreferenceStore that should be used by the portlet and all its child objects for which a preference store has not been chosen explicitly.
resourcejava_class_namenoneSets the name of the default resource bundle class for this Portlet.
rewriteUrlsbooleanValue of rewriteUrls on the provider

Controls whether or not URL rewriting will be performed on the results of portlet render requests for the portlet.

When true, this tag enables URL rewriting to improve portlet caching.

URL Rewriting can be specified at both the provider and portlet levels. The order of precedence is as follows:

  • If specified, the portlet setting is used.
  • If specified, the provider setting is used.
  • Otherwise, URL rewriting is not performed.

URL rewriting is a technique that allows you to create links or HTML forms without Portal having to send the base URL to the web provider. This means that the URLs, which can vary alot, do not get used as part of the cache key for your portlet. In most cases, this will increase the effectiveness of portlet caching.

For example, you might want to create a link based on the Page URL, but with your own parameters appended to it. If URL rewriting is disabled, the base URL is sent to the web provider, the PDK framework appends your parameters to the base URL and then you include the resulting URL in your portlet.

If URL rewriting is enabled, the base URL is never sent to the web provider. Instead, when you call the methods to create URLs such as UrlUtils.constructHTMLLink, the framework constructs a specially formatted String that you embed in your portlet. This String is then processed by Portal to create the same URL that would have been constructed if URL rewriting was disabled.

In order to enable URL rewriting you may need to make some small changes to your portlet code. You will need to make changes if you are submitting data via an HTML form or if you are appending encoded parameters to a simple link.

In the case of HTML forms, you should use the UrlUtils.htmlFormName method to construct a qualified form name that is unique to the current portlet instance.

In the case of simple links, you should use UrlUtils.constructHTMLLink. This method constructs an entire HTML <a>..</a> tag sequence embedding your link within it.

shortTitlestringString under shortTitleKey key in resource bundle specified by resourceShort title of this Portlet. This is the name used when real estate is at a premium such as when rendering a mobile link.
shortTitleKeystringPortletConstants.SHORTTITLEThe key used to look up the portlet's short title in the resource bundle specified by resource.
showDetailsbooleanfalseControls whether this portlet displays "detailed" mode. Detailed mode is a full page mode where this portlet is expected to display a finer level of information.
showEditbooleanfalseControls whether this portlet supports per user personalization.
showEditDefaultbooleanfalseControls whether this portlet supports per portlet customization. Per portlet customizations means that all users of this instance see a customized version of the portlet vs. the generic version. Users are then free to further personalize this instance (via showEdit).
showLinkbooleanfalseControls whether this portlet is capable of rendering content for link mode.
showPreviewbooleanfalseControls whether this portlet is capable of displaying a design-time preview of itself (after customization or personalization).
timeoutnumberprovider timeout registered by the administratorDefines the maximum number of seconds the portal will wait for a response from this portlet before timing out.
timeoutMessagestringString under timeoutMessageKey key in resource bundle specified by resourceThe timeout messsage that the portal should use in its response when a request to this portlet times out.
timeoutMessageKeystringPortletConstants.TIMEOUTMSGThe key used to look up the portlet's timeout message in the resource bundle specified by resource.
titlestringString under titleKey key in resource bundle specified by resourceThe title of this Portlet. This is the name that shows up in a portlet's title bar.
titleKeystringPortletConstants.TITLEThe key used to look up the portlet's title in the resource bundle specified by resource.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
renderer1oracle.portal.provider.v2.render.PortletRendererDefines this portlet's renderer.
event0 or moreoracle.portal.provider.v2.EventDefinitionAdds to the array of events that this portlet can raise to Portal.
inputParameter0 or moreoracle.portal.provider.v2.ParameterDefinitionAdds to the array of (input) parameters that this portlet recognizes when requested to render to control/affect the rendering.
containerRenderer0 or 1oracle.portal.provider.v2.render.PortletContainerRendererThe controller that will render this portlet's container.
personalizationManager0 or 1oracle.portal.provider.v2.personalize.PortletPersonalizationManagerDefines this portlet's personalization manager.
portletBuilder0 or 1oracle.webdb.provider.v2.builder.BuilderMetaDataSets the PortletBuilder object that may be used to edit the portlet in Provider UI.
securityManager0 or 1oracle.portal.provider.v2.security.PortletSecurityManagerDefines this portlet's security manager.

preferenceStore element

Adds to the set of PreferenceStore objects that may be used by the provider for persistent storage. Note that each PreferenceStore added should have a unique identifying name.
Describes object of class:
oracle.portal.provider.v2.preference.PreferenceStore
Known concrete implementations
oracle.portal.provider.v2.preference.DBPreferenceStore
oracle.portal.provider.v2.preference.FilePreferenceStore
May be a child of a
provider
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.preference.PreferenceStore, e.g. oracle.portal.provider.v2.preference.DBPreferenceStore, oracle.portal.provider.v2.preference.FilePreferenceStore.
Simple Elements
Mandatory
NameTypeDescription
namestringSets the name that should be used to identify this PreferenceStore.

Usage with class oracle.portal.provider.v2.preference.DBPreferenceStore

Syntax
<preferenceStore class="oracle.portal.provider.v2.preference.DBPreferenceStore">
  <connection>jndi_path</connection>
  <name trim="boolean">string</name>
  <table>database_table_name</table>
</preferenceStore>
Simple Elements
Mandatory
NameTypeDescription
connectionjndi_pathSets the JNDI path to the DataSource from which this DBPreferenceStore should retrieve its database connections.
namestringSets the name that should be used to identify this PreferenceStore.
Optional
NameTypeDefaultDescription
tabledatabase_table_nameJPDK_PREFERENCE_STORE2Sets the name of the database table in which this DBPreferenceStore should store customization data.

Usage with class oracle.portal.provider.v2.preference.FilePreferenceStore

Syntax
<preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceStore">
  <name trim="boolean">string</name>
  <rootDirectory>physical_path</rootDirectory>
  <useHashing>boolean</useHashing>
</preferenceStore>
Simple Elements
Mandatory
NameTypeDescription
namestringSets the name that should be used to identify this PreferenceStore.
Optional
NameTypeDefaultDescription
rootDirectoryphysical_pathPath to the directory of the provider's XML definition fileSets the path to the filesystem directory under which preference data will be stored.
useHashingbooleanfalseActivates or deactivates the 'path hashing' feature. If false, then data files for all preferences with the same context path will be stored in a single directory corresponding to that context path. If true, then an extra level of directories below the context path directory, with names derived by a hash function of the preference data file name, will be used in order to limit the number of preference data files stored in a single directory.

providerBuilder element

Sets the ProviderBuilder object that may be used to edit the provider in Provider UI.
Describes object of class:
oracle.webdb.provider.v2.builder.BuilderMetaData
May be a child of a
provider
Syntax
<providerBuilder class="oracle.webdb.provider.v2.builder.BuilderMetaData">
  <implementationStyle trim="boolean">string</implementationStyle>
</providerBuilder>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.webdb.provider.v2.builder.BuilderMetaData or a subclass.
Simple Elements
Mandatory
NameTypeDescription
implementationStylestringSets the implementation style of the builder that should be used to identify this ProviderBuilder.

renderer element

Defines this portlet's renderer.
Describes object of class:
oracle.portal.provider.v2.render.PortletRenderer
Known concrete implementations
oracle.portal.provider.v2.render.RenderManager
Must be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.render.PortletRenderer, e.g. oracle.portal.provider.v2.render.RenderManager.

Usage with class oracle.portal.provider.v2.render.RenderManager

Syntax
<renderer class="oracle.portal.provider.v2.render.RenderManager">
  <showPage trim="boolean">string</showPage>
  <autoInvalidate>boolean</autoInvalidate>
  <autoRedirect>boolean</autoRedirect>
  <charSet>iana_charset</charSet>
  <contentType>mime_type</contentType>
  <pageExpires>number</pageExpires>
  <pageParameterName trim="boolean">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 rendered by ResourceRenderer (e.g. servlet or JSP) whose path 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 ManagedRenderer inherits all its other properties from the 'defaults' set at RenderManager level.
Optional
NameTypeDefaultDescription
autoInvalidatebooleanfalseControls whether RenderManager invalidates webcache content for the portlet upon customization.
autoRedirectbooleanfalseControls whether RenderManager automatically issues a redirect after the portlet has processed the customization form.
charSetiana_charsetUTF-8Defines the default IANA character encoding to be used to decode static pages rendered by FileRenderer. This default may be overridden within an individual 'page' declaration (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).
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 RenderManager should automatically render the portlet's container (border and title) before and after processing/invoking the page.
renderCustomizebooleantrueDefines whether 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.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Show" mode.
aboutPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "About" mode.
defaultPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's 'default' page.
editDefaultsPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "EditDefaults" mode.
editPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Edit" mode.
helpPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Help" mode.
linkPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Link" mode.
previewPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "Preview" mode.
showDetailsPage0 or moreoracle.portal.provider.v2.render.ManagedRendererRegisters a ManagedRenderer that renders this portlet's "ShowDetails" mode.

containerRenderer element

The controller that will render this portlet's container.

The container renderer is responsible for rendering the portlet container in each of the show modes the portlet supports.
Describes object of class:
oracle.portal.provider.v2.render.PortletContainerRenderer
Known concrete implementations
oracle.portal.provider.v2.render.ContainerRenderer306
oracle.portal.provider.v2.render.DefaultContainerRenderer
oracle.portal.provider.v2.render.MocContainerRenderer
May be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.render.PortletContainerRenderer, e.g. oracle.portal.provider.v2.render.ContainerRenderer306, oracle.portal.provider.v2.render.DefaultContainerRenderer, oracle.portal.provider.v2.render.MocContainerRenderer.

Usage with class oracle.portal.provider.v2.render.ContainerRenderer306

Syntax
<containerRenderer class="oracle.portal.provider.v2.render.ContainerRenderer306">
</containerRenderer>

Usage with class oracle.portal.provider.v2.render.DefaultContainerRenderer

Syntax
<containerRenderer class="oracle.portal.provider.v2.render.DefaultContainerRenderer">
</containerRenderer>

Usage with class oracle.portal.provider.v2.render.MocContainerRenderer

Syntax
<containerRenderer class="oracle.portal.provider.v2.render.MocContainerRenderer">
</containerRenderer>

event element

Adds to the array of events that this portlet can raise to Portal.
Describes object of class:
oracle.portal.provider.v2.EventDefinition
May be a child of a
portlet
Syntax
<event class="oracle.portal.provider.v2.EventDefinition">
  <name trim="boolean">string</name>
  <description trim="boolean">string</description>
  <descriptionKey trim="boolean">string</descriptionKey>
  <displayName trim="boolean">string</displayName>
  <displayNameKey trim="boolean">string</displayNameKey>
  <resource>java_class_name</resource>
  <parameter>
    ...
  </parameter>
</event>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.portal.provider.v2.EventDefinition or a subclass.
Simple Elements
Mandatory
NameTypeDescription
namestringThe event's name. This name must be unique across all events defined for this portlet.
Optional
NameTypeDefaultDescription
descriptionstringString under descriptionKey key in resource bundle specified by resourceThe event's description. This is displayed in the Portal UI to give the page designer a better idea of what it will be used for.
descriptionKeystringnoneThe key used to look up the event's description in the resource bundle specified by resource.
displayNamestringString under displayNameKey key in resource bundle specified by resourceThe event's display name. This is a short name used in the Portal UI.
displayNameKeystringnoneThe key used to look up the event's display name in the resource bundle specified by resource.
resourcejava_class_namenoneSets the name of the default resource bundle class for this event.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.provider.v2.ParameterDefinitionAdds a parameter to the event.

inputParameter element

Adds to the array of (input) parameters that this portlet recognizes when requested to render to control/affect the rendering.
Describes object of class:
oracle.portal.provider.v2.ParameterDefinition
May be a child of a
portlet
Syntax
<inputParameter class="oracle.portal.provider.v2.ParameterDefinition">
  <name trim="boolean">string</name>
  <description trim="boolean">string</description>
  <descriptionKey trim="boolean">string</descriptionKey>
  <displayName trim="boolean">string</displayName>
  <displayNameKey trim="boolean">string</displayNameKey>
  <resource>java_class_name</resource>
</inputParameter>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.portal.provider.v2.ParameterDefinition or a subclass.
Simple Elements
Mandatory
NameTypeDescription
namestringThe parameter's name. This name should be unique from any other parameters under the parent. This name must also be a legal string that can be passed as a URL parameter to the portlet's renderer.
Optional
NameTypeDefaultDescription
descriptionstringString under descriptionKey key in resource bundle specified by resourceThe parameter's description. This is displayed in the Portal UI to give the page designer a better idea of what it will be used for.
descriptionKeystringnoneThe key used to look up the parameter's description in the resource bundle specified by resource.
displayNamestringString under displayNameKey key in resource bundle specified by resourceThe parameter's display name. This is a short name used in the Portal UI.
displayNameKeystringnoneThe key used to look up the parameter's display name in the resource bundle specified by resource.
resourcejava_class_namenoneSets the name of the default resource bundle class for this parameter.

personalizationManager element

Defines this portlet's personalization manager. If not specified it indicates this portlet doesn't support personalization.
Describes object of class:
oracle.portal.provider.v2.personalize.PortletPersonalizationManager
Known concrete implementations
oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager
May be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.personalize.PortletPersonalizationManager, e.g. oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager.
Simple Elements
Mandatory
NameTypeDescription
dataClassjava_class_nameClass name for this portlet's customization data object, e.g. oracle.portal.provider.v2.PersonalizationObject.

Usage with class oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager

Syntax
<personalizationManager class="oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager">
  <dataClass>java_class_name</dataClass>
</personalizationManager>
Simple Elements
Mandatory
NameTypeDescription
dataClassjava_class_nameClass name for this portlet's customization data object, e.g. oracle.portal.provider.v2.PersonalizationObject.

portletBuilder element

Sets the PortletBuilder object that may be used to edit the portlet in Provider UI.
Describes object of class:
oracle.webdb.provider.v2.builder.BuilderMetaData
May be a child of a
portlet
Syntax
<portletBuilder class="oracle.webdb.provider.v2.builder.BuilderMetaData">
  <implementationStyle trim="boolean">string</implementationStyle>
</portletBuilder>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.webdb.provider.v2.builder.BuilderMetaData or a subclass.
Simple Elements
Mandatory
NameTypeDescription
implementationStylestringSets the implementation style of the builder that should be used to identify this PortletBuilder.

securityManager element

Defines this portlet's security manager. If not specified it indicates this portlet authorizes access to all users.
Describes object of class:
oracle.portal.provider.v2.security.PortletSecurityManager
Known concrete implementations
oracle.portal.provider.v2.security.AuthLevelSecurityManager
May be a child of a
portlet
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.security.PortletSecurityManager, e.g. oracle.portal.provider.v2.security.AuthLevelSecurityManager.

Usage with class oracle.portal.provider.v2.security.AuthLevelSecurityManager

Syntax
<securityManager class="oracle.portal.provider.v2.security.AuthLevelSecurityManager">
  <securityLevel>STRONG | WEAK | PUBLIC</securityLevel>
</securityManager>
Simple Elements
Optional
NameTypeDefaultDescription
securityLevelSTRONG | WEAK | PUBLICSTRONGSets the security threshhold for this security manager. Values have same meaning as minEditAuthLevel.

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 of class:
oracle.portal.provider.v2.render.ManagedRenderer
Known concrete implementations
oracle.portal.provider.v2.render.http.FileRenderer
oracle.portal.provider.v2.render.http.JavaRenderer
oracle.portal.provider.v2.render.http.ResourceRenderer
oracle.portal.provider.v2.webservice.DocWebServiceRenderer
oracle.portal.provider.v2.webservice.HTMLStringWebServiceRenderer
oracle.portal.provider.v2.webservice.RPCWebServiceRenderer
oracle.portal.provider.v2.webservice.XMLStringWebServiceRenderer
Must be a child of a
renderer
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.render.ManagedRenderer, e.g. oracle.portal.provider.v2.render.http.FileRenderer, oracle.portal.provider.v2.render.http.JavaRenderer, oracle.portal.provider.v2.render.http.ResourceRenderer, oracle.portal.provider.v2.webservice.DocWebServiceRenderer, oracle.portal.provider.v2.webservice.HTMLStringWebServiceRenderer, oracle.portal.provider.v2.webservice.RPCWebServiceRenderer, oracle.portal.provider.v2.webservice.XMLStringWebServiceRenderer.

Usage with class oracle.portal.provider.v2.render.http.FileRenderer

Syntax
<showPage class="oracle.portal.provider.v2.render.http.FileRenderer">
  <appRoot trim="boolean">string</appRoot>
  <name trim="boolean">string</name>
  <charSet>iana_charset</charSet>
  <contentType>mime_type</contentType>
  <generatesESI>boolean</generatesESI>
  <pageExpires>number</pageExpires>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <parameter>
    ...
  </parameter>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
appRootstringThe root physical path for the renderer's pages.
namestringThe appRoot-relative name of the static file to be renderered.
Optional
NameTypeDefaultDescription
charSetiana_charsetcharSet of parent rendererDefines the default IANA character encoding to be used to decode the page renderered by this FileRenderer.
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
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.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.

Usage with class oracle.portal.provider.v2.render.http.JavaRenderer

Syntax
<showPage class="oracle.portal.provider.v2.render.http.JavaRenderer">
  <className>java_class_name</className>
  <renderMethod trim="boolean">string</renderMethod>
  <contentType>mime_type</contentType>
  <generatesESI>boolean</generatesESI>
  <pageExpires>number</pageExpires>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <parameter>
    ...
  </parameter>
</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
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
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.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.

Usage with class oracle.portal.provider.v2.render.http.ResourceRenderer

Syntax
<showPage class="oracle.portal.provider.v2.render.http.ResourceRenderer">
  <resourcePath>virtual_path</resourcePath>
  <charSet>iana_charset</charSet>
  <contentType>mime_type</contentType>
  <context>virtual_path</context>
  <generatesESI>boolean</generatesESI>
  <pageExpires>number</pageExpires>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <parameter>
    ...
  </parameter>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
resourcePathvirtual_pathThe path of the resource used for rendering. This path should be relative to the context root of the J2EE Application. It should fully locate the resource so, in the case of JSPs and static files, should include the file name.
Optional
NameTypeDefaultDescription
charSetiana_charsetUTF-8Defines the default IANA character encoding to be used to decode content pages rendered by ResourceRenderer. This overrides the default behaviour which is to use the character set specified in the contentType request header or ISO-8859-1.
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
contextvirtual_pathnoneSets the context root of the javax.servlet.ServletContext containing the resource. This should only be set if the resource is located in a different servlet context than the current provider.
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
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.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.

Usage with class oracle.portal.provider.v2.webservice.DocWebServiceRenderer

Syntax
<showPage class="oracle.portal.provider.v2.webservice.DocWebServiceRenderer">
  <endpointURL>URL</endpointURL>
  <responseXSL>String</responseXSL>
  <contentType>mime_type</contentType>
  <escapeOutput>boolean</escapeOutput>
  <generatesESI>boolean</generatesESI>
  <logging>boolean</logging>
  <loggingDirectory>physical_path</loggingDirectory>
  <pageExpires>number</pageExpires>
  <soapAction trim="boolean">string</soapAction>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <parameter>
    ...
  </parameter>
  <literal>
    ...
  </literal>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
endpointURLURLThe URL through which the web service should be contacted. This can be determined from the <soap:address> element of the service's WSDL document.
responseXSLStringThe filename of the XSL stylesheet used to transform the XML result document into a portlet response. The file is assumed to be stored in the provider 'repository' directory (usually the same directory as the XML provider definition).
Optional
NameTypeDefaultDescription
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
escapeOutputbooleantrueControls whether control characters in the response from the web service (such as '<' and '&') are escaped in the portlet response so that they display in HTML. Escaping should be disabled, e.g. if the web service returns a string containing HTML tags, which should be copied to the portlet response verbatim.
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
loggingbooleanfalseControls whether the XML logging debug feature is activated (see class doc for more information).
loggingDirectoryphysical_pathThe provider 'repository path' (usually the directory of the XML provider definition)The directory where files are created by the XML logging debug feature.
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.
soapActionstring""The value to be set for the SOAPAction HTTP header, if required. This can be determined from a web service's WSDL document by the soapAction attribute of the <soap:operation> element corresponding to the particular operation you want to invoke.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.
literal0 or 1oracle.portal.provider.v2.webservice.LiteralXMLDefines the literal XML structure that should be sent in the request to the web service.

Usage with class oracle.portal.provider.v2.webservice.HTMLStringWebServiceRenderer

Syntax
<showPage class="oracle.portal.provider.v2.webservice.HTMLStringWebServiceRenderer">
  <className>java_class_name</className>
  <renderMethod trim="boolean">string</renderMethod>
  <responseXSL>String</responseXSL>
  <contentType>mime_type</contentType>
  <escapeOutput>boolean</escapeOutput>
  <generatesESI>boolean</generatesESI>
  <logging>boolean</logging>
  <loggingDirectory>physical_path</loggingDirectory>
  <pageExpires>number</pageExpires>
  <param trim="boolean">string</param>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <param>
    ...
  </param>
  <parameter>
    ...
  </parameter>
  <literal>
    ...
  </literal>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
classNamejava_class_nameThe fully-qualified class name of the web service Java stub.
renderMethodstringThe name of the method to be called on an instance of the web service stub to render a request.
responseXSLStringThe filename of the XSL stylesheet used to transform the XML result document into a portlet response. The file is assumed to be stored in the provider 'repository' directory (usually the same directory as the XML provider definition).
Optional
NameTypeDefaultDescription
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
escapeOutputbooleantrueControls whether control characters in the response from the web service (such as '<' and '&') are escaped in the portlet response so that they display in HTML. Escaping should be disabled, e.g. if the web service returns a string containing HTML tags, which should be copied to the portlet response verbatim.
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
loggingbooleanfalseControls whether the XML logging debug feature is activated (see class doc for more information).
loggingDirectoryphysical_pathThe provider 'repository path' (usually the directory of the XML provider definition)The directory where files are created by the XML logging debug feature.
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.
paramstringnoneDefines a constant parameter to be passed to the render method. The parameter value will be converted to the appropriate type, according to the argument list of the method. This is provided as a shorthand for the param element.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
param0 or moreoracle.portal.provider.v2.webservice.WebServiceRenderer$ParameterBindingDefines a parameter to be passed to the render method.
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.
literal0 or 1oracle.portal.provider.v2.webservice.LiteralXMLDefines the literal XML structure that should be sent in the request to the web service.

Usage with class oracle.portal.provider.v2.webservice.RPCWebServiceRenderer

Syntax
<showPage class="oracle.portal.provider.v2.webservice.RPCWebServiceRenderer">
  <className>java_class_name</className>
  <renderMethod trim="boolean">string</renderMethod>
  <responseXSL>String</responseXSL>
  <contentType>mime_type</contentType>
  <escapeOutput>boolean</escapeOutput>
  <generatesESI>boolean</generatesESI>
  <logging>boolean</logging>
  <loggingDirectory>physical_path</loggingDirectory>
  <pageExpires>number</pageExpires>
  <param trim="boolean">string</param>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <param>
    ...
  </param>
  <parameter>
    ...
  </parameter>
  <literal>
    ...
  </literal>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
classNamejava_class_nameThe fully-qualified class name of the web service Java stub.
renderMethodstringThe name of the method to be called on an instance of the web service stub to render a request.
responseXSLStringThe filename of the XSL stylesheet used to transform the XML result document into a portlet response. The file is assumed to be stored in the provider 'repository' directory (usually the same directory as the XML provider definition).
Optional
NameTypeDefaultDescription
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
escapeOutputbooleantrueControls whether control characters in the response from the web service (such as '<' and '&') are escaped in the portlet response so that they display in HTML. Escaping should be disabled, e.g. if the web service returns a string containing HTML tags, which should be copied to the portlet response verbatim.
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
loggingbooleanfalseControls whether the XML logging debug feature is activated (see class doc for more information).
loggingDirectoryphysical_pathThe provider 'repository path' (usually the directory of the XML provider definition)The directory where files are created by the XML logging debug feature.
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.
paramstringnoneDefines a constant parameter to be passed to the render method. The parameter value will be converted to the appropriate type, according to the argument list of the method. This is provided as a shorthand for the param element.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
param0 or moreoracle.portal.provider.v2.webservice.WebServiceRenderer$ParameterBindingDefines a parameter to be passed to the render method.
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.
literal0 or 1oracle.portal.provider.v2.webservice.LiteralXMLDefines the literal XML structure that should be sent in the request to the web service.

Usage with class oracle.portal.provider.v2.webservice.XMLStringWebServiceRenderer

Syntax
<showPage class="oracle.portal.provider.v2.webservice.XMLStringWebServiceRenderer">
  <className>java_class_name</className>
  <renderMethod trim="boolean">string</renderMethod>
  <responseXSL>String</responseXSL>
  <contentType>mime_type</contentType>
  <escapeOutput>boolean</escapeOutput>
  <generatesESI>boolean</generatesESI>
  <logging>boolean</logging>
  <loggingDirectory>physical_path</loggingDirectory>
  <pageExpires>number</pageExpires>
  <param trim="boolean">string</param>
  <useInvalidationCaching>boolean</useInvalidationCaching>
  <param>
    ...
  </param>
  <parameter>
    ...
  </parameter>
  <literal>
    ...
  </literal>
</showPage>
Simple Elements
Mandatory
NameTypeDescription
classNamejava_class_nameThe fully-qualified class name of the web service Java stub.
renderMethodstringThe name of the method to be called on an instance of the web service stub to render a request.
responseXSLStringThe filename of the XSL stylesheet used to transform the XML result document into a portlet response. The file is assumed to be stored in the provider 'repository' directory (usually the same directory as the XML provider definition).
Optional
NameTypeDefaultDescription
contentTypemime_typeValue of contentType on parent RenderManagerDefines the MIME type of the page produced by this ManagedRenderer
escapeOutputbooleantrueControls whether control characters in the response from the web service (such as '<' and '&') are escaped in the portlet response so that they display in HTML. Escaping should be disabled, e.g. if the web service returns a string containing HTML tags, which should be copied to the portlet response verbatim.
generatesESIbooleanfalseIndicates that ESI processing should be performed on the rendered portlet. When set to true, a header that enables ESI processing is included in the response HTTP headers.
loggingbooleanfalseControls whether the XML logging debug feature is activated (see class doc for more information).
loggingDirectoryphysical_pathThe provider 'repository path' (usually the directory of the XML provider definition)The directory where files are created by the XML logging debug feature.
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.
paramstringnoneDefines a constant parameter to be passed to the render method. The parameter value will be converted to the appropriate type, according to the argument list of the method. This is provided as a shorthand for the param element.
useInvalidationCachingbooleanfalseIndicates whether or not to use invalidation caching. Note that if invalidation caching is used on a page, the renderer will not be contacted to render the same page again until its expiry time has passed or the cached page is invalidated explicitly.
Child Complex Elements
NameMultiplicityClass or InterfaceDescription
param0 or moreoracle.portal.provider.v2.webservice.WebServiceRenderer$ParameterBindingDefines a parameter to be passed to the render method.
parameter0 or moreoracle.portal.utils.v2.NameValuePairDefines the names and values of additional static parameters to be made available in the request to this renderer.
literal0 or 1oracle.portal.provider.v2.webservice.LiteralXMLDefines the literal XML structure that should be sent in the request to the web service.

parameter element

Adds a parameter to the event. These are the parameters which will be passed with the event when it is raised. They are rendered by the portlet with the event.
Describes object of class:
oracle.portal.provider.v2.ParameterDefinition
May be a child of a
event
Syntax
<parameter class="oracle.portal.provider.v2.ParameterDefinition">
  <name trim="boolean">string</name>
  <description trim="boolean">string</description>
  <descriptionKey trim="boolean">string</descriptionKey>
  <displayName trim="boolean">string</displayName>
  <displayNameKey trim="boolean">string</displayNameKey>
  <resource>java_class_name</resource>
</parameter>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.portal.provider.v2.ParameterDefinition or a subclass.
Simple Elements
Mandatory
NameTypeDescription
namestringThe parameter's name. This name should be unique from any other parameters under the parent. This name must also be a legal string that can be passed as a URL parameter to the portlet's renderer.
Optional
NameTypeDefaultDescription
descriptionstringString under descriptionKey key in resource bundle specified by resourceThe parameter's description. This is displayed in the Portal UI to give the page designer a better idea of what it will be used for.
descriptionKeystringnoneThe key used to look up the parameter's description in the resource bundle specified by resource.
displayNamestringString under displayNameKey key in resource bundle specified by resourceThe parameter's display name. This is a short name used in the Portal UI.
displayNameKeystringnoneThe key used to look up the parameter's display name in the resource bundle specified by resource.
resourcejava_class_namenoneSets the name of the default resource bundle class for this parameter.

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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.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 of class:
oracle.portal.provider.v2.render.ManagedRenderer
May be a child of a
renderer

literal element

Defines the literal XML structure that should be sent in the request to the web service. See class doc for more information.
Describes object of class:
oracle.portal.provider.v2.webservice.LiteralXML
May be a child of a
showPage
Syntax
<literal class="oracle.portal.provider.v2.webservice.LiteralXML" handler="oracle.portal.provider.v2.webservice.LiteralXML$Handler">
</literal>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.portal.provider.v2.webservice.LiteralXML or a subclass.
handleroracle.portal.provider.v2.webservice.LiteralXML$HandlerThe NodeHandler that should be used to process XML descriptions of a LiteralXML object.

param element

Defines a parameter to be passed to the render method. The parameter value will be converted to the appropriate type, according to the argument list of the method.
Describes object of class:
oracle.portal.provider.v2.webservice.WebServiceRenderer$ParameterBinding
Known concrete implementations
oracle.portal.provider.v2.webservice.WebServiceRenderer$ConstParam
oracle.portal.provider.v2.webservice.WebServiceRenderer$EditData
oracle.portal.provider.v2.webservice.WebServiceRenderer$RequestParam
oracle.portal.provider.v2.webservice.WebServiceRenderer$SessionAttrib
oracle.portal.provider.v2.webservice.WebServiceRenderer$URLParam
May be a child of a
showPage
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a subclass of oracle.portal.provider.v2.webservice.WebServiceRenderer$ParameterBinding, e.g. oracle.portal.provider.v2.webservice.WebServiceRenderer$ConstParam, oracle.portal.provider.v2.webservice.WebServiceRenderer$EditData, oracle.portal.provider.v2.webservice.WebServiceRenderer$RequestParam, oracle.portal.provider.v2.webservice.WebServiceRenderer$SessionAttrib, oracle.portal.provider.v2.webservice.WebServiceRenderer$URLParam.
Simple Elements
Mandatory
NameTypeDescription
namestringThe binding name, which identifies the particular item of data it should be bound to.

Usage with class oracle.portal.provider.v2.webservice.WebServiceRenderer$ConstParam

Syntax
<param class="oracle.portal.provider.v2.webservice.WebServiceRenderer$ConstParam">
  <name trim="boolean">string</name>
</param>
Simple Elements
Mandatory
NameTypeDescription
namestringThe binding name, which identifies the particular item of data it should be bound to.

Usage with class oracle.portal.provider.v2.webservice.WebServiceRenderer$EditData

Syntax
<param class="oracle.portal.provider.v2.webservice.WebServiceRenderer$EditData">
  <name trim="boolean">string</name>
  <default trim="boolean">string</default>
  <mandatory>boolean</mandatory>
  <prompt trim="boolean">string</prompt>
</param>
Simple Elements
Mandatory
NameTypeDescription
namestringThe binding name, which identifies the particular item of data it should be bound to.
Optional
NameTypeDefaultDescription
defaultstringnoneThe default value for this binding, returned by getValue when the binding value is null or the empty string.
mandatorybooleanfalseControls whether this binding is mandatory. If a WebServiceRenderer has any mandatory parameter bindings, its web service will not be invoked until all its bindings have a value which is non-null and not equal to the empty string. By default, all parameters are non-mandatory.
promptstringEnter value for nameThe default prompt to use for the input field corresponding to this item in the generated HTML form.

Usage with class oracle.portal.provider.v2.webservice.WebServiceRenderer$RequestParam

Syntax
<param class="oracle.portal.provider.v2.webservice.WebServiceRenderer$RequestParam">
  <name trim="boolean">string</name>
  <default trim="boolean">string</default>
  <mandatory>boolean</mandatory>
</param>
Simple Elements
Mandatory
NameTypeDescription
namestringThe binding name, which identifies the particular item of data it should be bound to.
Optional
NameTypeDefaultDescription
defaultstringnoneThe default value for this binding, returned by getValue when the binding value is null or the empty string.
mandatorybooleanfalseControls whether this binding is mandatory. If a WebServiceRenderer has any mandatory parameter bindings, its web service will not be invoked until all its bindings have a value which is non-null and not equal to the empty string. By default, all parameters are non-mandatory.

Usage with class oracle.portal.provider.v2.webservice.WebServiceRenderer$SessionAttrib

Syntax
<param class="oracle.portal.provider.v2.webservice.WebServiceRenderer$SessionAttrib">
  <name trim="boolean">string</name>
  <default trim="boolean">string</default>
  <mandatory>boolean</mandatory>
</param>
Simple Elements
Mandatory
NameTypeDescription
namestringThe binding name, which identifies the particular item of data it should be bound to.
Optional
NameTypeDefaultDescription
defaultstringnoneThe default value for this binding, returned by getValue when the binding value is null or the empty string.
mandatorybooleanfalseControls whether this binding is mandatory. If a WebServiceRenderer has any mandatory parameter bindings, its web service will not be invoked until all its bindings have a value which is non-null and not equal to the empty string. By default, all parameters are non-mandatory.

Usage with class oracle.portal.provider.v2.webservice.WebServiceRenderer$URLParam

Syntax
<param class="oracle.portal.provider.v2.webservice.WebServiceRenderer$URLParam">
  <name trim="boolean">string</name>
  <default trim="boolean">string</default>
  <mandatory>boolean</mandatory>
  <prompt trim="boolean">string</prompt>
</param>
Simple Elements
Mandatory
NameTypeDescription
namestringThe binding name, which identifies the particular item of data it should be bound to.
Optional
NameTypeDefaultDescription
defaultstringnoneThe default value for this binding, returned by getValue when the binding value is null or the empty string.
mandatorybooleanfalseControls whether this binding is mandatory. If a WebServiceRenderer has any mandatory parameter bindings, its web service will not be invoked until all its bindings have a value which is non-null and not equal to the empty string. By default, all parameters are non-mandatory.
promptstringEnter value for nameThe default prompt to use for the input field corresponding to this item in the generated HTML form.

parameter element

Defines the names and values of additional static parameters to be made available in the request to this renderer.
Describes object of class:
oracle.portal.utils.v2.NameValuePair
May be a child of a
showPage
Syntax
<parameter class="oracle.portal.utils.v2.NameValuePair">
  <name trim="boolean">string</name>
  <value trim="boolean">string</value>
</parameter>
Attributes
Mandatory
NameTypeDescription
classjava_class_nameNames a class which is either oracle.portal.utils.v2.NameValuePair or a subclass.
Simple Elements
Mandatory
NameTypeDescription
namestringIdentifying name for the parameter.
valuestringValue of the parameter, expressed as a string.