I am currently working on transforming an existing Domino app into an Xpages app. Therefor I took another close look on the Data Source Events as described in the Mastering XPages book. Here is a summary:
A data source on an XPage has many similar events as the traditional Domino document.
| Event | Trigger |
| computeDocument |
|
| queryNewDocument |
|
| postNewDocument |
|
| queryOpenDocument |
|
| postOpenDocument |
|
| querySaveDocument |
|
| postSaveDocument |
|
The following table gives an overview which trigger executes which Event(s) (in the order as listed):
| Trigger | Executed Events |
| Create document |
|
| Submit document |
|
| Cancel document | No Event(s) |
| Reload XPage |
|
| Open document |
|
| Switch document mode | No Event(s) |
An example you can find described on the Domino forum.
After an x number of years working in the same environment I have decided to look for a new challenge. Are you looking for a smart companion?
