heidloff.net - Building is my Passion
Post
Cancel

New composite application component on OpenNTF: Property converter

Kevin Bergin from the IBM development lab in Dublin implemented this sample that we published on OpenNTF now – see here.

The property converter is a composite application component that can be put between two components to convert the property that goes over the wire via JavaScript snippets.

Here is a little sample to describe the component. The property converter is the rectangle at the bottom. The company of the person you select in the contacts list is sent to the property converter which converts the property and publishes a new one with the URL of that company. The web browser displays the URL when you select another person.
image

You can install this component either via drag and drop from this catalog entry (upper right corner “Try it”) or via the local update site that is included in the zip file that you can download. After the installation you’ll see this component in the Composite Application Editor palette:
image

It is currently not possible to hide this component (due to a limitation in Notes 8.5 that hopefully will be resolved soon). It has not been tested whether you can access the notes.jar from the JavaScript code. The script can use the ‘importpackage’ function to access and instantiate Java objects.However, there might be some classloading issues that need to be worked around.

Featured Blog Posts
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Trending Tags