+

Search Tips   |   Advanced Search

Collaborating and cobrowsing in web applications

We can embed the Cobrowse widget in an application so that users can share the same browsing session, with one user controlling the session. We can use the Dojo Toolkit that comes with the CEA feature to embed the CEA widgets in the applications.

Dojo widgets are prepackaged components of JavaScript code, HTML markup and CSS style declarations that we can use to enhance web sites with interactive features. We can use the Dojo Toolkit that comes with the CEA feature to embed the CEA widgets in the applications.

Deprecated feature: CEA Dojo widgets encapsulate various user interfaces based on the CEA Rest API. These widgets are deprecated. We can also obtain the source for these widgets from developerWorks . depfeat

A cobrowsing session allows two web users to share the same browsing session. One user controls the session; the other user has no control, but can view the activity of the other user. A modal window is a secondary window that requires the user to interact with it; the modal window must be closed before the user can return to the main application.

The Cobrowse widget can be customized to match the look and feel of the page by modifying the CSS file. The widgets are also extensible, allowing the user to create their own custom version to handle more advanced tasks.

In addition to listing the steps needed to enable applications with cobrowsing, this task includes details about how to enhance the application and configure the application server.

This task lists the steps needed to enable collaboration and cobrowsing in an existing application. To quickly learn how the CEA widgets work in an online application, we can install the PlantsByWebSphere Ajax Edition for CEA (PlantsByWebSphereAjax) sample application. For more information about the sample application, see the supporting documentation provided in the PlantsByWebSphere directory of the CEA samples package that we can download from the WAS Samples page. Additionally, read about setting up and using the communications enabled application samples.

Avoid trouble: In the following procedure, complete either Step 3 or Step 4. Step 3 enables the widget for desktop browsers. Step 4 enables the widget for Apple and Android mobile browsers.gotcha

  1. Enable the system application.

  2. Copy the CEA widgets into the application you are enhancing.

  3. Embed the widgets in the application you are enhancing.

  4. Embed the mobile widgets in the application you are enhancing.

  5. Install and start the application you are enhancing.

  6. Test the application you are enhancing.


Results

You have enabled the Cobrowse widget within an application, which allows users to share and direct a browsing session with a web browsing partner.

Avoid trouble:

gotcha


Subtopics


Related tasks

  • Set up the communications enabled application samples
  • Samples documentation

  • CEA collaboration flow


    Related information:

  • Multiple Versions of Dojo in a Page