Siebel Wireless Administration Guide For Financial Services > Configuring Siebel Wireless > Configuring Template Files and XSL >

Managing Browser Types


Web Browser Administration allows users to define capabilities and user agents for certain Web browsers which can be acted on using conditional logic within Siebel Web Template files.

Siebel Wireless applications can take advantage of the Web browser administration and conditional logic capabilities of Siebel eBusiness Applications to apply tags or other template-based functionality only to certain recognized browser user agents in the Siebel Wireless template files.

See Siebel Tools Reference for more information on the logical structure and naming conventions used to apply conditional tags within Siebel Web Template files.

An example of how such conditional tags are applied to Siebel Wireless applications is provided in the following section.

Optimizing the Main Menu for a Particular WML Browser Type

The following example of applying particular WML tags to recognized wireless browsers shows how to:

NOTE:  The following configuration has already been performed in the seed data provided with Siebel applications. This example is provided to demonstrate the approach required to make similar modifications for Openwave or other WML browser types.

Create an entry for the Phone.com/3.x browser using the Server Administration > Web Browser Administration capability of the Siebel Web Client. Table 12 shows the appropriate values.

Table 12.  Phone.com/3.x Browser
Capability Name
Capability Value
Browser
UP Browser
SelectOption
TRUE

Create another entry in Web Browser Administration entitled UPBrowser 3.x to define the particular user agent to which the Exit link will be applied. Table 13 shows the values to define.

Table 13.  UPBrowser 3.x
Capability Name
Capability Value
DefaultMarkup
WML
User-Agent
UP.Browser/3.
Parent
Phone.com/3.x
SoftKeySupport
FALSE

Open the SWLSeChannelSplash.swt, SWLSeServiceSplash.swt, SWLSSalesSplash.swt, SWLSServiceSplash.swt, and SWLSStart.swt Siebel Web Template files (they reside in the siebsrvr/WEBTEMPL directory defined during the installation of the Siebel Server). These Siebel Web Template files are used to render the main menu of Siebel Wireless applications, to which the Exit link and options list tag will be conditionally applied.

Text required to provide the Exit soft key only for browsers for which the SoftKeySupport capability has not been set to FALSE:

<swe:switch>
<swe:case condition="Web Engine User Agent, TestCapability, 'SoftKeySupport:FALSE'">
</swe:case>
<swe:default>
<swe:exitsoftkey property="Softkey" />
</swe:default>
</swe:switch>

Text required to display the main menu as an options list only for browsers for which the SelectOption capability has been set to TRUE:

<!-- Screen Bar -->
<swe:switch>

<swe:case condition="Web Engine User Agent, TestCapability, 'SelectOption:TRUE'">
<select>
<swe:for-each-screen>
<swe:screenoptionlink>
<swe:screenname/>
</swe:screenoptionlink>
</swe:for-each-screen>

Text required to add an Exit link on the option list for browsers for which the SoftKeySupport capability has been set to FALSE and the SelectOption capability has been set to TRUE:

<swe:if condition="Web Engine User Agent, TestCapability, 'SoftKeySupport:FALSE'">
<swe:exitsoftkey property="Optionlink" />
</swe:if>
</select>
</swe:case>
<swe:default>
<br/>
<swe:for-each-screen>
<b><swe:screenlink><swe:screenname/></swe:screenlink></b><br/>
</swe:for-each-screen>

Text required to add an Exit link for browsers for which SoftKeySupport capability has been set to FALSE, and the SelectOption capability has not been set to TRUE:

<swe:if condition="Web Engine User Agent, TestCapability, 'SoftKeySupport:FALSE'">
<b><swe:exitsoftkey property="Link" /></b>
</swe:if>
</swe:default>

</swe:switch>


 Siebel Wireless Administration Guide For Financial Services
 Published: 18 April 2003