The Mobile Portal Accelerator extensions are configured through the mwp.properties file and through resource environment providers.
Property | Type | Default value | Description |
---|---|---|---|
mwp.aggregator.policy.project | string | http://www.ibm.com/mwp/aggregator-policies | The Global Policy Project used by the XDIME aggregator. |
mwp.generic.portlet.policy.project | string | http://www.ibm.com/mwp/generic-portlet-policies | The Generic Portlet Global Policy Project. |
mwp.login.portlet.enable | Boolean | true |
|
Property | Type | Default value | Description |
---|---|---|---|
mwp.icon.omit.captions | Boolean | false |
|
mwp.icon.default.image.page | string | /wp/icon_default_page.mimg | Path to the default image used to represent a page (if none is specified, a caption is used). |
mwp.icon.default.image.portlet | string | /wp/icon_default_portlet.mimg | Path to the default image used to represent a portlet (if none is specified, a caption is used). |
mwp.icon.default.image.url | string | /wp/icon_default_url.mimg | Path to the default image used to represent a URL (if none is specified, a caption is used). |
mwp.locales | string | de,en,es,fr,it,pt_BR,ja,ko,zh,zh_TW | The locales that IBM Mobile Portal Accelerator can use when determining themes. The locale default is the portal default. |
Property | Type | Default value | Description |
---|---|---|---|
mwp.pda.use.images | Boolean | true |
|
mwp.pda.omit.captions | Boolean | false |
Note: In Microsoft Internet Explorer, only the portlet's
icon is displayed, not the caption.
|
mwp.pda.max.nav.depth | integer | 3 | Number of levels, beyond home,
that the PDA view or smartphone view extends. For example, If this value is 3, then a page that is four levels beyond home can never be displayed. |
mwp.pda.default.image.portlet | string | /wp/icon_default_portlet.mimg | Path to the default image used to represent a portlet. A default image can be displayed for portlets that are not configured with metadata to specify an icon. |
Property | Type | Default value | Description |
---|---|---|---|
mwp.tag.image.enable | Boolean | true |
|
mwp.tag.allowContent.enable | Boolean | true |
|
mwp.tag.preloadnotice.enable | Boolean | true |
|
mwp.tag.alttitle.enable | Boolean | true |
|
The WebSphere Portal administrator can configure icon extended properties for a node to specify icons for any page, URL, or portlet in the tree.
Property | Type | Default value | Description |
---|---|---|---|
mwp.tree.max.nav.depth | integer | 1 |
|
mwp.tree.use.images | Boolean | false |
|
mwp.tree.use.shortcut.keys | Boolean | true |
|
mwp.tree.portlet.above.nav | Boolean | false |
|
mwp.tree.default.image.page | string | /wp/tree_default_page.mimg | Path to the default image used to represent a page when mwp.tree.use.images is true. |
mwp.tree.default.image.portlet | string | /wp/tree_default_portlet.mimg | Path to the default image used to represent a portlet when mwp.tree.use.images is true. |
mwp.tree.default.image.url | string | /wp/tree_default_url.mimg | Path to the default image used to represent a URL when mwp.tree.use.images is true. |
mwp.tree.indent.value | string | . | String used for indentation when mwp.tree.max.nav.depth is
greater than 1. Note: The character / is interpreted as the path to
an image resource.
|
mwp.tree.bullet.value | string | - | String used for a bullet character when mwp.tree.max.nav.depth is
greater than 1. Note: The character / is interpreted as the path to
an image resource.
|
Additional properties are used to configure pagination in the tree view.
Property | Type | Default value | Description |
---|---|---|---|
mwp.tree.pagination.page.overhead.size | integer | 1500 | Estimate of the markup size overhead in bytes
for an xHTML, cHTML, or other HTML page. The estimate should exclude
elements represented by the other properties, such as mwp.tree.pagination.link.size. Assume the worst-case markup that could be generated and include the greatest number of images that could be included in a page at any given time. |
mwp.tree.pagination.link.size | integer | 20 | Estimate of the markup size overhead in bytes for adding a single link, excluding the actual 'src' URL and the title of the link. |
mwp.tree.pagination.max.buffer.match | integer | 12300 | Maximum matching buffer size in bytes that will
be paginated for the tree view. This value is compared against the maxhtmlpage policy
value from the MCS device repository. A value of 0 disables HTML pagination. |
mwp.tree.wml.conversion.size | integer | 100 | Estimate of how much conversion overhead the
final markup (output from MCS) will undergo before it arrives at the
target device. This includes transformations as the markup travels
through proxies and other changes in the markup before it is saved
in the WML device's buffer. Example: The single quote (') character is converted to '–increasing buffer usage by 5 characters. |
mwp.tree.wml.deck.size | integer | 171 | Number of bytes occupied by the markup that declares the WML deck. If an image is used as a header in the deck, its size should be included in this number. This value is added to the total byte count only once per page response. |
mwp.tree.wml.card.size | integer | 35 | Number of bytes occupied by the markup that declares each WML card. This value is added to the total byte count for each card that is added to the deck. |
mwp.tree.wml.link.size | integer | 20 | Number of bytes occupied by the markup that declares each nav link on a WML card. |
mwp.tree.wml.do-go.link.size | integer | 59 | Number of bytes occupied by the markup that declares each <do><go> WML link on a WMLcard. |
Property | Type | Default value | Description |
---|---|---|---|
mwp.portlet.default.mode | string | maximized | Default value for the portlet when the render mode extended property for the portlet is not explicitly defined. Possible values: normal, maximized. |
mwp.portlet.normal.mode.hr.enable | Boolean | true |
|
mwp.tree.normal.mode.enable | Boolean | true |
|
mwp.tree.wml.normal.mode.enable | Boolean | false |
|
mwp.tree.pagination.normal.mode.enable | Boolean | false |
|
mwp.icon.normal.mode.enable | Boolean | true |
|
mwp.pda.normal.mode.enable | Boolean | true |
|
mwp.dynamic.properties.interval | integer | 300 | Time interval, in seconds, in which the mobile portal checks for updates. |
Property | Type | Default value | Description |
---|---|---|---|
mwp.virtual.portals | string | (none) | List of virtual portal URL mapping contexts, separate by commas (,). |
mwp.vp.default.policyset | string | / | Path to the default policy set to use with virtual portals. |
Property | Type | Default value | Description |
---|---|---|---|
mwp.icsServer | string | map/map | URL of the MAP that
is being used with WebSphere Portal.
When MAP is
not installed with the WebSphere Portal server,
the format of the property value is:
where:
If MAP is
installed on the same server instance as WebSphere Portal,
the mwp.icsServer entry can contain the fully qualified
name, or it can omit the hostname and port as
in the following example:
|
Property | Type | Default value | Description |
---|---|---|---|
mwp.pln.datasource | string | jdbc/mpaplnDS | Specifies datasource name to be used to connect to the Preload Notices tables (for example, Direct Customization datasource name) |
mwp.pln.schema | string | customization_databse_username | Schema name for preload notice tables |
Property | Type | Default value | Description |
---|---|---|---|
mwp.pln.datasource | string | jdbc/mpaplnDS | Specifies datasource name to be used to connect to the Preload Notices tables (for example, Direct Customization datasource name) |
mwp.pln.schema | string | customization_databse_username | Schema name for preload notice tables |
Property | Type | Default value | Description |
---|---|---|---|
mwp.excludewebdav.requeststring | string | /wps/mycontenthandler/ | String for excluding the WebDAV requests from going to MCS |