This section describes the approach for building a new XPages web application from scratch. The approach is explained by means of a real-life case study, as the functionality of this application is based on the standard Lotus Document Library template.

Note - This is the beginning a hands-on tutorialillustrating how to build a new Web application using XPages

This example will help you getting started with building new XPage applications for the web. It will give you a realistic view on the key issues to consider and how to deal with them. Apart from providing a step-by-step tutorial to building the web version of the Document Library template, this section also explains the background of each step. It clarifies why things are done in a certain way.

Preview of the Sample Application you will build using documentation in this section

In this section, we are going to build a web application from scratch using XPages and the associated design elements in Domino 8.5.1. The goal for this exercise is to highlight the best practices of building Domino web application and to explain the rationale for using specific design decisions and approaches -- as opposed to demonstrating various features of XPages. This section is written in a step-by-step tutorial format along with accompanying screenshots.

Many corporate Intranets provide a searchable list of documents for employees to download, such as policy documents, hand book, PDF forms, etc. In the sample application we are going to build the layout for a corporate Intranet and implement only the “Documents” section of the Intranet. Documents section allows users to upload, view, edit, search and download company documents. This provides a comprehensive exercise for users to learn and to expand upon. Below are a few screenshot of the final application. Note that “Documents” tab is highlighted from the global navigation – as this is the only section of the Intranet which is implemented in this exercise. Other tabs, such as Announcements, Employee Directory and PO System are included to demonstrate the context.

The following screens illustrate the key features you will learn how to build into this sample application.

@Michael Deinhardt -I had a similar problem with the Span Control as it was missing in my list. Discovered that some controls are hidden by default though but you can unhide them by going into..File > Preferences > Domino Designer > Palette. (NB: Paragraph is under "Other Controls"

Rod Weaver commented on May 13, 2010

Introduction to Sample Application 2 - Building an XPage web application from scratch

Actually** I just figured out a fix for the username. I replaced session.getCommonUsername() with @Name('[CN]'**@UserName).

Rod Weaver commented on May 13, 2010

Introduction to Sample Application 2 - Building an XPage web application from scratch

pages 219-222 - the username tab on the lotusUtility tabbed panel uses session.getCommonUsername() to display the user's name at the top of the page. I can only get it to display the name of the server. Anyone have idea why my username does not display?

Michael Deinhardt commented on Mar 31, 2010

Introduction to Sample Application 2 - Building an XPage web application from scratch

Oustion:

on Page 106 i try to add the described "Paragraph" control from "User Added Controls"** but i can not find this Control.

The help tells me nothing to this Controles. In the help is a Titel User Added Controles but ther is no content.

In Step 8.5

Page 120 is the wrong name for the custom Control in Step 1. Create a new custom control "docs_place" is wrong

1. Create a new custom control "docs_view_subject" is correct i think.

Mike

Page 121 there is no Info wich view shoud be used.

Michael Deinhardt commented on Mar 31, 2010

Introduction to Sample Application 2 - Building an XPage web application from scratch

Oustion:

on Page 106 i try to add the described "Paragraph" control from "User Added Controls", but i can not find this Control.

The help tells me nothing to this Controles. In the help is a Titel User Added Controles but ther is no content.

In Step 8.5

Page 120 is the wrong name for the custom Control in Step 1. Create a new custom control "docs_place" is wrong

1. Create a new custom control "docs_view_subject" is correct i think.

Mike

Page 121 there is no Info wich view shoud be used.

Copy and paste this wiki markup to link to this
article from another article in this wiki.