Skip to main content link. Accesskey S
  • Translate Page ▼
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Composite Applications wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.2
  • 8.0.1
  • 8.5
  • 8.5+
  • 8.5.1
  • advanced features
  • advantages
  • API
  • app dev
  • assembling
  • basics
  • benefits
  • Browser
  • CAE
  • cai
  • catalog
  • changing page properties
  • changing value to another type of value
  • code snippet
  • component library
  • component properties
  • components
  • Composite Application Editor
  • Composite Applications
  • container components
  • containers
  • custom actions
  • debugging
  • demos
  • deploying
  • designing
  • developing
  • drag and drop
  • Eclipse
  • Eclipse components
  • Eclipse tips
  • editing properties
  • Editor
  • education
  • enablement
  • Expeditor
  • extending
  • extensions
  • FAQ
  • feature rules
  • framework
  • getting started
  • Help
  • HOD
  • host on demand
  • how to
  • Java
  • lead manager
  • linking
  • match rules
  • new users
  • Notes
  • Notes components
  • Notes view
  • nsf
  • NSF components
  • overview
  • page properties
  • Palette
  • PBE
  • PIM
  • plugins
  • Portal
  • preference
  • programming
  • properties
  • property broker
  • property broker editor
  • Property Broker Monitor tool
  • provisioning
  • resources
  • roadmap
  • samples
  • setting component properties
  • Sidebar
  • sideshelf
  • Symphony
  • Symphony view component
  • technote
  • testing
  • toolkit
  • TopologyHandler
  • troubleshooting
  • tutorial
  • update site
  • updating
  • upgrading
  • video
  • view
  • Web
  • web services
  • white lists
  • widgets
  • Wiring
  • WSDL
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Tutorials > Sample Composite Application using XPages in Lotus Notes 8.5.1
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Sample Composite Application using XPages in Lotus Notes 8.5.1 

expanded Abstract
collapsed Abstract
No abstract provided.
The next generation of the discussion template is developed as open source on OpenNTF. This article describes which technologies (composite applications, XPages, Eclipse, classic app dev, Java views) are used and why.

You can download this sample from here: Download from here. See here for a demo.

The main goal of the discussion project is to provide a better discussion template. The main goal is not to use certain technologies to push these technologies or to use artifactual scenarios to showcase new features. We've done some evaluations and here is what we've planned to do. The target platform is Notes/Domino 8.5.1.


Web UI
For the web user interface of the discussion template we use XPages for everything.

This was an obvious choice given all the nice new capabilities XPages provide.


Rich Client UI
For the rich client user interface of the discussion template we use a combination of classic Notes app dev, composite applications and XPages.

We use the Java Views running inside a composite application for the entry page. The main reason is that we wanted to provide a consistent user interface to other Notes 8 style applications like mail. The other reason is that we wanted the best possible user experience for view navigation and rich text editing that is available right now with 8.5.1.

From this first page you can launch other 'cloned' pages by doubleclicking the view entries (see here).

The second page is another composite application page with these components:


These components are wired:
1. When the response document is loaded it passes the necessary information to the thread viewer.
2. The response doc also determines the parent document that is displayed at the bottom.
3. When you click on a label in the thread viewer the 'previewed' doc at the bottom is changed.
4. When you click on icon in the thread viewer (not doubleclick as picture indicates) the document is launched in it's own tab.


The thread viewer is an XPage because it allows maximal flexibility in terms of user interface design. Also the alternative to use an embedded view didn't work since it couldn't display an entry in the thread viewer for the new document before the document was saved. However this is a key scenario for discussions that users want to see where in the hierarchy their document will show up.
XPages in 8.5.1 can participate in property broker via the new design element 'Components':


The main area of the page uses the new 8.5.1 Notes Document container to display a document and to pass via landmarks data to other components.


The component at the bottom is a Notes component to display a certain Notes document. It uses a nice trick to do this. The frameset has one invisible frame with Notes actions that are triggered via property broker. These actions store the to be displayed Notes URL in a Notes environment variable from which the second visible frame reads this information and displays the right Notes document. The main reason why I haven't used the Notes Document Container here as well was that I needed a way not only to display a Notes document in this rectangle but also to launch a Notes document in it's on tab when clicking (one click, not doubleclick as in picture above) the icon next to the label in the thread viewer.


Rich Client Extensions
For rich client extensions that will be globally available (not part of the template) I'd like to use Eclipse plugins.

On OpenNTF there is a sample extension (download from here). With this tool Notes users can easily copy Notes documents into discussion applications. This tool is not part of one discussion application but always available/visible in the Notes client. So it's rather an extension to Notes than to the discussion template. I've some other tools in mind that could be done in the same way. Stay tuned.

These extensions could theoretically be installed as part of the discussion application by referencing the Eclipse features in the composite application definition. However then we'd also need a separate update site database with the Eclipse features that always would have to be deployed with the discussion application. Since these extensions are not mandatory, but only optional tools I'd like to keep the standard deployment of the discussion template separate from the Eclipse features. For Eclipse features administrators can use the Widget Catalog to push these features down to certain users/Notes clients. The features could also be installed by users easily from a catalog via drag and drop.

expanded Article information
collapsed Article information
Category:
Tutorials
Tags:

This Version: Version 1 October 27, 2009 4:07:15 AM by Niklas Heidloff  IBMer
   
expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
expanded Version Comparison
collapsed Version Comparison
     
Version Date Changed by               Summary of changes
This version (1) Oct 27, 2009 4:07:15 AM Niklas Heidloff  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Tip: When linking to articles use the original title, not the edited title. The alias for the link can be the edited title.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • Lotus Technical Information and Education Team Blog
  • Lotus Tech Info on Twitter
  • Lotus Tech Info on Facebook
  • Lotus product forums
  • Lotus Tech Info blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use
Return to English
Arabic
Chinese Simplified
Chinese Traditional
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish