|
How to reuse Java code from Java script libraries on XPages |
|
Validating a Read Only field By default a field set to be read only cannot be required, but with a little help from my friend Chris Toohey you can add a div tag with a style to make it work like shown below: div style"display: none;"
xp:inputText
id"rptToName1" ... |
|
If you are required to develop in a development environment before going to production, then the below might be helpful if you need to use another database for your datasource where there is a copyreplica of this in your development environment and production environment. var curServer ... |
|
Here is sample JavaScript code for the class NotesName. Eventually this sample code will find its way into the documentation. Corrections and comments are appreciated. |
|
Here is sample JavaScript code for the class NotesMIMEEntity. Eventually this sample code will find its way into the documentation. Corrections and comments are appreciated. |
|
Here is sample JavaScript code for the class NotesViewEntryCollection. Eventually this sample code will find its way into the documentation. Corrections and comments are appreciated. |
|
Here is sample JavaScript code for the class NotesViewNavigator. Eventually this sample code will find its way into the documentation. Corrections and comments are appreciated. |
|
Small sample programs to get started with XPage development |
|
You have an XPage with a tabbed panel and a submit button. Each tab contains required fields however validation only occurs on the tab that currently has focus. Hence, if you submit the page, validation does not occur on the tabs which do not have focus. This behavior is working as designed and an ... |
|
In Domino forms, you have the ability to enter text and use the PassThru HTML feature to indicate that the text should be treated has HTML. One way to simulate the same behavior on an XPage is to use a computed field control. 1. Drag a computed field control to the XPage 2. In the computed field ... |
|
Developing traditional Domino Web pages, I often used a symple techinque to dynamically change options in a combobox, depending on a key typed in an input box. Through an Ajax call to a Lotus Script agent, I could use HTML code sent back to the browser by the "print" statement to populate my ... |
|
This episode of the Notes In 9 screencast series introduces the source window as an alternative to the IDE in XPage Development. |
|
Favicons (like the Lotus Notes image on the tab and address bar when you're looking at this page in your browser) help give your website application the personal touch. But there's something you need to be careful about... |
|
If you use the inbuilt datetime picker popup for the Edit Box control in XPages, be aware that when your XPage is used in Internet Explorer 8, when you click the date picker icon, the page can refresh immediately before a value can be selected. You can see an example ... |
|
XPages elements, for example, xpViewCategories.xsp, are case sensitive when used in Web URLs. For example, these two URLs are treated differently by the Domino server. The second URL will produce an error because it is not considered a valid URL due the the use of all lower-case letters. {code: ... |
|
For general information, see "Domino URL Commands" in Designer help under "Application Design > URL commands for Web applications" in the Lotus Domino Designer Basic User Guide and Reference . You can open an XPage through a Domino URL command of one of the following forms: ... |
|
Each XPage has a version number that is compared to the server version when attempting to run the XPage. An XPage that was created in Domino Designer version 8.5.1 and that uses features or options that were added or redefined in 8.5.1 will not run on an 8.5 server. The error message that appears ... |
|
Previous | TOC | Next 1. What will you learn
You will learn how to provide data to the different controls on the xPage and how to enable type-ahead functionality in xPages. 2. Task Description
The profileForm custom control has combobox design elements. You will provide ... |
|
Here is an example of the picklist view for an Xpage. Notice the use of client and serverside script. instructions can be found here one attachment is encrypted and i cant seem to delete it, use the other, thanks |
|
This short series of blog posts will show you how to create a dojo based ajax login for a Domino XPages application. Part 1 : Creating The dojo Dialog Box Part 2 : Building the javaScript Part 3 : Tying Everything To the Login Button |
|
This small hint explains how to avoid html tag soup when developing XPages. If you use a panel or a computed field, Domino generates a DIV or SPAN tag at runtime. There are 2 steps to avoid this behaviour
in the Properties view on the Style tab activate "Disable runtime-applied default ... |
|
TaskJam is a free XPages application developed by Matt White and Bruce Elgort from Elguji Software. Visit TaskJam.net to download the template. |
|
Question:
How does the "At runtime, open selected document using" option work in XPages views? Answer: This option may be ambiguous on first reading, but it's probably best explained using the following use case: You have a view panel which uses a Notes View as a data source ... |
|
In this we will look at the four different scoped variables, applicationScope, sessionScope, requestScope, and viewScope. We will look at the benefits of using each of the different scopes. We will investigate when to use each of the scopes. The JavaWorld topic on ... |
|
This article outlines the steps required to understand and implement logging of the XPages runtime environment on the Domino Server. We use the Java Logging API to take a look under the hood of ... |