• Share
  • ?
  • Profiles ▼
  • Communities ▼
  • Apps ▼

Blogs

  • My Blogs
  • Public Blogs
  • My Updates

This community can have members from outside your organization. Bring information and collaboration into the context of your daily business processes using composite applications

  • Log in to participate

▼ Tags

▼ Similar Entries

MindPlan Component f...

Blog: Bring informa...
nheidloff 060001WH71
Updated
0 people like thisLikes 0
No CommentsComments 0

Carousel Component f...

Blog: Bring informa...
nheidloff 060001WH71
Updated
0 people like thisLikes 0
CommentsComments 4

Composite Applicatio...

Blog: Bring informa...
nheidloff 060001WH71
Updated
0 people like thisLikes 0
CommentsComments 1

VoIP Integration fro...

Blog: Bring informa...
nheidloff 060001WH71
Updated
0 people like thisLikes 0
CommentsComments 3

Built in Properties ...

Blog: Bring informa...
nheidloff 060001WH71
Updated
0 people like thisLikes 0
CommentsComments 3

▼ Archive

  • September 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006

▼ Blog Authors

Bring information and collaboration into the context of your daily business processes using composite applications

View All Entries
Clicking the button causes a full page refresh. The user could go to the "Entry list" region to view the new content.) Entry list

How to run XUL Applications in Notes 8

nheidloff 060001WH71 | | Tags:  heidloff notes80 ‎ | 1 Comment ‎ | 8,258 Views

Pranav Kuber and Nizar Lethif are developers in the CSI and PIM teams. They've implemented an interesting prototype that shows how to run and integrate with XUL applications in Notes 8 (with some additional plugin from Sametime). They've also planned to write a developerworks article with more information about how exactly they've implemented this. The description below is from Pranav and Nizar.

Niklas

 

This article discusses how existing applications written in XUL (XML User-interface Language) can participate in the Composite Application Infrastructure. As an effort to address this, we implemented a new container which should be generic enough to embed any application which can be rendered in a browser. So far, we have implemented this container framework to support XUL.

Some useful XUL links:
http://www.xulplanet.com/tutorials
http://developer.mozilla.org/en/docs/Introduction_to_XUL

The Implementation:
The container creates an instance of the com.ibm.swt.xulrunner.browser.SWTXULRunnerBrowser browser and registers the properties with the Property Broker.
The com.ibm.swt.xulrunner.browser.SWTXULRunnerBrowser plug-in is available as a part of Sametime 7.5.1.
The Sametime installable will be available at http://www.ibm.com/developerworks/downloads/ls/lst
Currently, the com.ibm.swt.xulrunner.browser.SWTXULRunnerBrowser is not part of the Notes 8.0 plug-ins.
The developer of the CA specifies the following:
  • The URL of the application.
  • The WSDL file.
  • JavaScript to be invoked on receiving any property event.

  • The XUL contianer is available on the Component Palette in the Composite Applications Editor. The developer can drag and drop this container on the Composite Application's page. When the Property Broker fires an event with the container, the container in turn executes the JavaScript specified by the developer on the browser.

    Example:
    In order to demonstrate a working implementation, we created a XUL application which uses the ThinkPlace APIs to extract ideas and display them in a table.

    ThinkPlace is a collaborative tool that allows IBM employees to surface opportunities to grow our business, identify solutions to critical client business needs and offer ideas for process improvements that will enhance IBM's culture or make us more competitive in the marketplace.
    The APIs exposed by ThinkPlace are REST APIs.
    More information on REST APIs: http://en.wikipedia.org/wiki/Representational_State_Transfer

    Initially the developer registers the properties with the Property Broker through the Advanced Properties Dialog. It takes in the URL for the XUL application, the WSDL file and the JavaScript to be executed on an incoming property event.
    (Refer to the screen shot below).


    The Composite Application is created with one of the components as the XUL application above and the other, a notes database. When we click on the “Search ThinkPlace” button, a property event is fired (search).
    This “search” property event is recognized by the container which in turn fires the JavaScript that is associated with this property event.
    Refer to the screen shots of the application

    1. The application, onload.


    2. After clicking on the "Search ThinkPlace" button.


    As of now, this container supports property event subscription only. We are still working on a generic solution for property event publish.

    Developers:
    Nizar Lethif (nizarlethif@in.ibm.com)
    Pranav Kuber (pranav.kuber@in.ibm.com)

    More specific implementation details will be made available in the Developer Works article.

    • Add a Comment Add a Comment
    • Edit
    • More Actions v
    • Quarantine this Entry
    Notify Other People
    notification

    Send Email Notification

    +

    Quarantine this entry

    deleteEntry
    duplicateEntry

    Mark as Duplicate

    • Previous Entry
    • Main
    • Next Entry
    Feed for Blog Entries | Feed for Blog Comments | Feed for Comments for this Entry