Recommended Portlet Procedures and Functions

Creating PLSQL Portlets 8-5 id Specifies the portlet ID in the provider. This value must be unique within the provider. string name Specifies the portlet name. The name should not contain any spaces. The generator uses the information provided in the name tag for the portlet package name. string title Specifies the portlet display name. string shortTitle Specifies the portlet short display name. This tag is useful for mobile portlets. string description Specifies the portlet description. string defaultLocale Specifies the language the portlet renders by default. The value is the two letter ISO language and country codes expressed as language.country. string timeout Specifies the portlets timeout interval in seconds. number timeoutMsg Specifies the message to display when the portlet times out. string showEdit Indicates whether the portlet supports Edit mode, which enables the user to personalize the portlets properties. Boolean showEditDefault Indicates whether the portlet supports the Edit Defaults mode, which enables page administrators to personalize the default values of the portlets properties. Boolean showDetails Indicates whether the portlet can be viewed in Full Screen mode. In this mode, the entire browser window is dedicated to the portlet. Full screen mode enables the portlet to show more details than when it shares the page with other portlets. Boolean showPreview Indicates whether the portlet supports the Preview mode. Boolean hasHelp Indicates whether the portlet supports the Help mode. Boolean hasAbout Indicates whether the portlet supports the About mode. Boolean language Defines the portlets default language for example, en. string contentType Indicates the default content type supported by the portlet. The tag can take one of the following values: wwpro_api_provider.CONTENT_TYPE_HTML wwpro_api_provider.CONTENT_TYPE_XML wwpro_api_provider.CONTENT_TYPE_MOBILE string apiVersion Specifies the version of the Oracle Portal PLSQL API to which the portlet conforms. The value should be wwpro_api_provider.API_VERSION_1. string callIsRunnable Indicates whether OracleAS Portal must check for the users credentials before displaying the portlet. The default value is true. Boolean Table 8–3 Cont. XML Tags for PLSQL Generator Input XML Tag Definition Value Type