Sun Java System Portal Server Mobile Access 7.1 Administration Guide

Conditional Properties

Conditional properties for client types enable administrators to specify properties for a channel or container channel that are specific to a client type. Conditional properties for client types can also be hierarchical, just as client data is hierarchical.

The syntax for a conditional property is client=clientType. For example, client=WML is the name of the conditional property for WML client types.

The desktopContainer property for the wireless desktop dispatcher is an example of a client conditional property for the client type client=WML. By default the definition for this property is desktopContainer=JSPRenderingContainer.

Here is a hierarchical representation of the default desktopContainer property for Nokia devices:


client=WML -> desktopContainer=JSPRenderingContainer
client=Nokia -> desktopContainer=JSPNativeContainer

Devices within the WML client style use the JSPRenderingContainer. The subset of WML clients defined by the Nokia client style use a different desktopContainer definition, however. They use the JSPNativeContainer.