Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Notes and Domino Application Development wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Redbooks Wiki: Best Practices for Domino 8.0 Web Application Development Redbooks Wiki: Building Domino Web Applications using Domino 8.5.1 Redbooks Wiki: Creating Plugins for Lotus Notes, Sametime, and Symphony Redbooks Wiki: Lotus Domino Development Best Practices Custom Search Scope...
Search
Learning Center > Getting Started > Demonstration Application for XPages
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Paul Hannan
Contribution Summary:
  • Articles authored: 13
  • Articles edited: 9
  • Comments Posted: 10

Recent articles by this author

XPages Mobile Controls Tutorial

In this simple tutorial the developer will be shown how to build a simple XPage Mobile application from an existing Domino database. Using the familiar Discussion template based application , we take the user on their first steps to creating an XPages Mobile web experience.

XPages Extension Library Deployment in Domino 8.5.3 and IBM XWork Server

With Domino 8.5.3 and the IBM XWork Server the XPages Extension Library can be deployed using a UpdateSite database (updatesite.ntf). This makes it easier to deploy or update the XPages Extension Library without the need to manually copy the plugins in each Domino Server. This NSF based OSGi ...

LS11 AD116 XPages Extension Library: Making Application Development Even Easier

This is the slidedeck from the AD116 XPages Extension Library, Making Application Developemnt Even Easier session presented at Lotusphere 2011. This session will help and show you how the Extension Library will change the way you do App development, and save you time and resources along the ...

The new 'Save as Draft' enhancement in XPages

As already mentioned in this article (http:www10.lotus.comlddddwiki.nsfdxWhatsNewin852forXPagesdisableValidation) a new validation enhancement has been added to XPages in R852. It's an option that allows you to disable validation and save data at the same time. And this is a short ...

What's New in 852 for XPages

Here is a list of the new XPages features and enhancements, some big, some small, that are in IBM Lotus Notes Domino 852. It's an A to Z with oneliners (a little rough now, some with placeholders we will get to those in time), with links to existing articles and blog posts.

Learning Center articleDemonstration Application for XPages

Added by Paul Hannan | Edited by IBM contributor Craig Lordan on July 19, 2011 | Version 3
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: XPages, OpenNTF, samples, video
As the name suggests the Demonstration Application for XPages is a web based IBM Lotus Domino R8.5 application used to demonstrate many aspects of the new XPages technology. Launched via a web browser, the user can navigate through the provided links menu and see how many of the XPages features might work on a real application.

The demo application can also be worked with in IBM Lotus Domino Designer R8.5. Here the user can see how the application is put together and inspire the user to reuse the XPages features displayed in their own Domino 8.5 applications.

The Demonstration Application for XPages has been released on OpenNTF.org under the Apache v2 license whose terms can be read here http://www.apache.org/licenses/LICENSE-2.0.txt . Download the application from it's project and run it on your own system.
Also, see the application live on OpenNTF.

IBM Notes Domino 8.5 is needed to run this application.



Get Started:


On a web browser you can starting using this demo application in two ways, stored locally and previewed through Lotus Designer 8.5, or stored on Lotus Domino 8.5 server and launched through a web browser.

Preview from Designer:
Unzip XPages.nsf from the zip file to the data directory of your Designer client, then launch the application. In Designer select from the main menu Design, Preview in Web Browser.

This will launch the application on the desired web browser.

Adding the Demo App to your Domino server.
Unzip the application to the data directory of your Lotus Domino 8.5 server. And because this application is released on OpenNTF.org it is not signed with the standard Lotus Notes development signer, so you will need to sign the template with an id that is allowed to run agents/code on your server.
Then once that is done and the web server task is running on your server you can hit this application via a web browser with the following URL for example – http://yourDomino85Server/XPages.nsf and this will give you the applications welcome XPage.

Features:


The header is a good place to start.

Here from left to right, the application version is displayed, then the Notes\Domino version on which this application is running, the web browser and version used, the operating system on which the application resides, and finally the locale being used to display the application.

The menu on the left hand side drives the application and this is a XPage feature in itself.

Using Ajax partial refresh some of these links, like 'Core Controls', expand sections on the menu to reveal more options. These in turn lead to more samples.

All of the samples are contained within their own XPage. And to explore more how these samples are put together the URL for that XPage is where you should start. For example, for the Ajax Partial Refresh XPage the URL will be http://yourDominoServer/XPages.nsf/ajaxPartialRefresh.xsp so the XPage to look for in Designer will be 'ajaxPartialRefresh.xsp'.



Then from here you can learn how the XPage is put together.

Here's a list of all the features covered in this application.
Default menu option:
Expanded options:
Comments:
Home
-
This link returns you to the default XPage.
Ajax
  • Partial Refresh
  • Type Ahead

Basic Properties
  • Accelerator Keys
    • Button Properties
    • Edit Box Properties
    • Link Properties
    • List Box Properties
    • Multiline Edit Box Properties
    • Tab Order

Core Controls
  • Edit Box
  • Rich Text
  • Multiline Edit Box
  • Button
  • List Box
  • Combo Box
  • Check Box
  • Radio Button
  • Link
  • Label
  • Computed Field
  • Image
  • Attachments
  • Date Time Picker
  • Display Error
  • Display Errors
This section gives examples of all the core controls from the palette.
Container Controls
  • Panel
  • Repeat
  • Include Page
  • Table
  • View
  • Data Table
  • Tabbed Panel
  • Section

Locale Test
-
This is an example that'll allow you to change the locale under which this application gets displayed.
Other Controls
  • Checkbox Group
  • Pagers
  • Radio Button Group

Simple CRUD
  • Simple Test
This is sample that tests the very basic functionality of XPages where a document is Created, then Read, Updated and finally Deleted (CRUD).
Time Zone
-
Like the locale test this sample changes the timezone of the application.
Validators
-
This sample runs through all of the Validators used in XPages.
And for this application all the validation is done server side but you can switch this to perform client side by choosing the option in the Application Properties in the Pages Tab.
View Categorization
-
This XPage runs through many samples for Views, all driven from the drop-down.
View Header Sort
-
Here create as many documents as you wish and then see how they sort on the fly through the header.
@Functions
  • @A*
  • @B*
  • @C*
  • @D*
  • @E*
  • @F*
  • @G*
  • @H*
  • @I*
  • @L*
  • @M*
  • @N*
  • @P*
  • @R*
  • @S*
  • @T*
  • @U*
  • @W*
  • @Y*
Not all @Functions available in XPages have samples here. This is a work in progress.



References:


For the main reference and feedback please use the page for this project in OpenNTF.

For more information on XPages...
  • Try out the XPages Tutorial on Domino Designer 8.5 Help (Lotus Domino Designer XPages User Guide);
  • Check out the articles and videos on the Designer Wiki;
  • See what the blogs are saying about XPages.





  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (3)
collapsed Versions (3)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (3)Jul 19, 2011 4:43:56 PMCraig Lordan  IBM contributor
2Oct 30, 2009 6:39:36 PMDeanna Drschiwiski  IBM contributor
1Mar 2, 2009 3:49:56 AMPaul Hannan  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use