Web Applications

Identifier:
com.ibm.eswe.workbench.WctWebApplication

Since:
WCTME Enterprise Offering 5.8.0 NOTE: Location, Local, Description, and Version elements from 5.8.0 are deprecated for the WebSphere Everyplace Deployment 6.0.0 and Expeditor 6.1.0 release. For web applications intended to run on devices, only the 6.1.0 schema is supported.

Description:
This extension point provides the definition of a web application to be launched.

Configuration Markup:

<!ELEMENT extension (WEBApplication)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #REQUIRED

name  CDATA #IMPLIED>


<!ELEMENT BrowserConfiguration EMPTY>

<!ATTLIST BrowserConfiguration

browser        (Mozilla|MSIE)

showAddressbar (true | false)

showToolbar    (true | false)

showHistory    (true | false)

showPageCtrl   (true | false)

showHome       (true | false)

showPrint      (true | false)

showBookmark   (true | false)

userid         CDATA #IMPLIED

password       CDATA #IMPLIED>

Browser configuration settings Note: The Lotus Expeditor Client for Devices will correctly read, but does not support, BrowserConfiguration options in the eSWT browser.



<!ELEMENT WebApplicationUrl EMPTY>

<!ATTLIST WebApplicationUrl

local    (true | false)

secured  (true | false)

provider CDATA #IMPLIED

url      CDATA #IMPLIED>

Specify the URL to access the web application. ("url" and "local") or "provider" is required to provide the correct url the Web Browser connect to. The Lotus Expeditor Client for Devices does not support ssl/https



<!ELEMENT WEBApplication (BrowserConfiguration , WebApplicationUrl)>

<!ATTLIST WEBApplication

DisplayName CDATA #REQUIRED

Icon        CDATA #IMPLIED>

Specifies an instance of an application that will be created in the Launcher list.



Examples:

(1) This example shows a web application that is local to Expeditor runtime.     
     
 <extension id="LocalExample" point="com.ibm.eswe.workbench.WctWebApplication">
   <WEBApplication DisplayName="Order Entry Web Application">
    <WebApplicationUrl local="true"
           url="OrderEntry"/>
   </WEBApplication> 
 </extension>
  
(2) This example shows a web application that is running on a remote server.
  
 <extension id="RemoteApp" point="com.ibm.eswe.workbench.WctWebApplication">
    <WEBApplication DisplayName="IBM">
    <WebApplicationUrl local="false"
           url="http://www.ibm.com"/>
   </WEBApplication>
 </extension>
 
(3)This example shows how a local web application can be configured to use the browser address bar but not the home button
  
 <extension id="MyExample" point="com.ibm.eswe.workbench.WctWebApplication">
    <WEBApplication DisplayName="%webapp.name"
        Icon="icons/OEwctwebapp_32x32.gif">
    <WebApplicationUrl local="true"
           url="/OrderEntry"/>
    <BrowserConfiguration browser="platform" 
                       showAddressBar="true" 
              showToolbar="true" 
            showHistory="true" 
            showPageCtrl="true"
            showHome="false"
            showPrint="true"/>
    
   </WEBApplication>
 </extension>
 
(4) This example shows how a local web application can be configured to not use the address bar and tool bar

 <extension id="LocalApplication" point="com.ibm.eswe.workbench.WctWebApplication">
     <WEBApplication DisplayName="%webapp.name"
         Icon="icons/OEwctwebapp_32x32.gif">
    <WebApplicationUrl local="true"
           secured="true"
           url="/OrderEntry"/>
    <BrowserConfiguration browser="platform" 
                       showAddressBar="false" 
              showToolbar="false"/>
    
   </WEBApplication>
 </extension>

(5) This example shows how a local web application can be configured to use the Mozilla browser and remove the print button from the toolbar
  
 <extension id="TestApplication" point="com.ibm.eswe.workbench.WctWebApplication">
     <WEBApplication DisplayName="%webapp.name"
         Icon="icons/OEwctwebapp_32x32.gif">
    <WebApplicationUrl local="true"
           url="/OrderEntry"/>
    <BrowserConfiguration browser="Mozilla" 
            showPrint="false"/>
    
   </WEBApplication>
 </extension>
 
(6) This example shows how to configure a web application to use the urlprovider capability
  
 <extension id="MyApplication" point="com.ibm.eswe.workbench.WctWebApplication">
     <WEBApplication DisplayName="%webapp.name"
        Icon="icons/OEwctwebapp_32x32.gif">
    <WebApplicationUrl provider="myApplication.myProvider"/>
    <BrowserConfiguration browser="platform" 
                       showAddressBar="true" 
              showToolbar="true" 
            showHistory="true" 
            showPageCtrl="true"
            showHome="false"
            showPrint="true"/>
    
   </WEBApplication> 
 </extension>

Supplied Implementation:
Expeditor runtime will use this extension point to register the web application. These web applications will be displayed in the Launcher list. Please note that the BrowserConfiguration attributes are read correctly but the configurations are not supported by the eSWT browser, this may be implemented in future releases.


Licensed Materials - Property of IBM (C) Copyright IBM Corp. 2004, 2006. All Rights Reserved. IBM is a registered trademark of IBM Corp.