357 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
Latest 7 Posts
5 weeks of XPages
Thu, Jul 3rd 2014 272
New project on OpenNTF: DB Manager Notifier
Wed, Jul 2nd 2014 197
Rooms & Connections now in Google Play
Tue, Jul 1st 2014 139
Demo of the Single Page Application Control wizard
Mon, Jun 30th 2014 168
Adding search to an application with XPages interface (quickly)
Mon, Jun 23rd 2014 182
Tag cloud with data from another application
Mon, Jun 23rd 2014 114
New app in town: Rooms & Connections
Mon, Jun 16th 2014 233
Top 10
Comparison between Extension Library (OpenNTF) and Upgrade Pack 1 (IBM) – You’re help is appreciated
Tue, May 21st 2013 687
CALENDARIO: A responsive calendar plugin
Mon, Apr 8th 2013 529
Single Page Application tutorial
Mon, Feb 17th 2014 404
Go Connect Go!
Sat, Jan 25th 2014 323
Capturing geodata in XPages
Fri, Nov 1st 2013 319
Navbar with dropdown menu from Notes view in Twitter Bootstrap (with XPages)
Fri, May 31st 2013 284
#oldschool @formula to check for attachments
Mon, Apr 7th 2014 281
Using Teamroom 8.5.2 – recommended documentation?
Mon, Mar 21st 2011 276
5 weeks of XPages
Thu, Jul 3rd 2014 272
jQCloud gone bad (jQuery Tag Cloud plugin in XPages)
Tue, Apr 9th 2013 261

Data Source Events
Patrick Kwinten    

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
  • Create new document
  • Submit document
  • Reloade XPage
  • Open document
  • Create document
  • Reload XPage
  • Create document
  • Reload XPage
  • Open document
  • Open document
  • Submit document
  • Submit document

The following table gives an overview which trigger executes which Event(s)  (in the order as listed):

Trigger Executed Events
Create document
  1. queryNewDocument
  2. postNewDocument
  3. computeDocument
Submit document
  1. querySaveDocument
  2. postSaveDocument
  3. computeDocument
Cancel document No Event(s)
Reload XPage
  1. queryNewDocument
  2. postNewDocument
  3. computeDocument
Open document
  1. queryOpenDocument
  2. postOpenDocument
  3. computeDocument
Switch document mode No Event(s)

An example you can find described on the Domino forum.

May 04, 2012
124 hits

Recent Blog Posts

5 weeks of XPages
Thu, Jul 3rd 2014 6:45a   Patrick Kwinten
Counting the hours before vacation starts. Looking forward to reading some good summer reading… Enjoy your summer! [read] Keywords: xpages

New project on OpenNTF: DB Manager Notifier
Wed, Jul 2nd 2014 9:05a   Patrick Kwinten
Today I created a new project on OpenNTF called ‘DB Manager Notifier‘. The application is a tool that can send periodically notifications to persons who are listed as Manager in an Application document in the catalog.nsf on your IBM Domino server. A typical use case is a Development or Sandbox environment where users are free to install new applications. In such loosely managed environments people tend to “forget” their applications and leave them installed on the server. [read] Keywords: agent domino ibm application applications development openntf server

Rooms & Connections now in Google Play
Tue, Jul 1st 2014 4:45a   Patrick Kwinten
The Rooms & Connections app that I mentioned earlier is besides the iTunes store  now also available in Google Play. So get it there for 22 SEK, 2 1/2 Euro or 3.3 US Dollar and book a room directly from your smartphone / tablet. [read] Keywords: connections ibm apple google

Demo of the Single Page Application Control wizard
Mon, Jun 30th 2014 8:05a   Patrick Kwinten
You can bring a IBM Notes application without much work to the web browser via the Notes Browser plugin. But since Mobile is the standard nowadays that plugin seems to be obsolete almost. So what other options do you have for your enterprise apps? You can introduce a mobile application platform, if you have the time and the money. You can migrate your whole collaboration platform in exchange for something less, similar or not similar at all. And prey for mobile tools on that platform. You can [read] Keywords: collaboration ibm notes xpages application development email enterprise exchange exchange mobile openntf

Adding search to an application with XPages interface (quickly)
Mon, Jun 23rd 2014 8:05a   Patrick Kwinten
For a project I was asked to deliver a new user interface for the web browser with the help of XPages. This included a search functionality. First step: Look on OpenNTF OpenNTF is a great resource to check if someone has done development before and has made the code available for public. Here are some results that offer some form of search out of the box: Advanced Search XPage Control (link) Xpages Multi Database Search Custom Control (link) Xpage Search And Tagcloud control (link) XPages Basi [read] Keywords: xpages application database development interface openntf

Tag cloud with data from another application
Mon, Jun 23rd 2014 6:45a   Patrick Kwinten
For a project I needed a tag cloud to provide some alternative navigation to a view. Easy I thought; such control is part of the XPages extension library. However it turns out that this control does not support to use a view from another application/database as the data-source. Some examples I found (1), (2), (3) required some work anyway so I wrote a quick prototype based upon the tag cloud component described in the OneUI documentation. The tag cloud is really simple but for now it does the [read] Keywords: domino ibm lotus xpages application css database interface java javascript openntf properties xml

New app in town: Rooms & Connections
Mon, Jun 16th 2014 4:25a   Patrick Kwinten
This post is for all your IBM Notes users: I assume you all have experienced the problem of finding an available room when you register a new entry in your calendar. Especially with spontaneous meetings it is frustrating not be able to find a room, and if you check at the physical location the room seems to be empty. You have then the option to start/open your laptop, open one or more the resource reservation applications and find out who has booked the room, contact the person and ask if he/she [read] Keywords: connections ibm notes apple applications laptop reservation


JQM & Domino Data Service (3)
Mon, Jun 2nd 2014 6:08a   Patrick Kwinten
In a previous post I demonstrated how to populate a listview for jQuery Mobile from a Notes view via Domino Data Service. In this post I will show how to include a ‘More’ button to load additional loading of more items for the listview and display them. For this you need to make changes in 2 places: mobile.xsp employeelist.js employeelist.js In the JavaScript file we need to modify the initial getEmployeeList function and include a new function to load more employees from the li [read] Keywords: domino lotus notes javascript mobile

JQM & Domino Data Service (2)
Tue, May 27th 2014 4:45a   Patrick Kwinten
In a previous post I demonstrated how to use Domino Data Service (as part of Domino Access Service) to populate a listview for jQuery Mobile. Probably the real-world application you want to mobilize has multiple layers of data that is common in Notes (multiple forms & views). I followed Christophe Coenraets’s example and re-used it for the fakenames application. First let me show you what you get: At first an overview of the People’s view is presented, from here the [read] Keywords: domino foundations ibm ldd lotus notes xpages ajax application css dojo email mobile office server

listview in JQuery Mobile via Domino Access Service
Tue, May 20th 2014 4:05a   Patrick Kwinten
Here follows an quick example how to create a listview in JQM created with data from a view via DAS. As data source I have used the infamous Fake Names Address book which you can (still) can find on Codestore. In the example you can navigate between the view (People view) and details (Person view). I have not really find out (yet) how to add the next set of documents when you scroll down the list (to be continued, or drop the solution in the comments or send me an email). $.ajax({ url: 'ht [read] Keywords: domino ibm lotus ajax css email mobile network xml

Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition