357 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Tip of the day: isDocument() for nested data in the Data View control
Wed, Aug 13th 2014 130
Handsons from EntwicklerCamp 2014
Mon, Aug 11th 2014 111
Presentations from EntwicklerCamp 2014 – Track 4
Mon, Aug 11th 2014 149
Presentations from EntwicklerCamp 2014 – Track 3
Mon, Aug 11th 2014 137
Presentations from EntwicklerCamp 2014 – Track 2
Mon, Aug 11th 2014 181
Presentations from EntwicklerCamp 2014 – Track 1
Mon, Aug 11th 2014 182
5 weeks of XPages
Thu, Jul 3rd 2014 335
Top 10
Comparison between Extension Library (OpenNTF) and Upgrade Pack 1 (IBM) – You’re help is appreciated
Tue, May 21st 2013 644
CALENDARIO: A responsive calendar plugin
Mon, Apr 8th 2013 497
5 weeks of XPages
Thu, Jul 3rd 2014 335
#oldschool @formula to check for attachments
Mon, Apr 7th 2014 319
Capturing geodata in XPages
Fri, Nov 1st 2013 312
New app in town: Rooms & Connections
Mon, Jun 16th 2014 294
jQCloud gone bad (jQuery Tag Cloud plugin in XPages)
Tue, Apr 9th 2013 268
Navbar with dropdown menu from Notes view in Twitter Bootstrap (with XPages)
Fri, May 31st 2013 261
New project on OpenNTF: DB Manager Notifier
Wed, Jul 2nd 2014 245
Using Teamroom 8.5.2 – recommended documentation?
Mon, Mar 21st 2011 233


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
computeDocument
  • Create new document
  • Submit document
  • Reloade XPage
  • Open document
queryNewDocument
  • Create document
  • Reload XPage
postNewDocument
  • Create document
  • Reload XPage
queryOpenDocument
  • Open document
postOpenDocument
  • Open document
querySaveDocument
  • Submit document
postSaveDocument
  • 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.




---------------------
http://quintessens.wordpress.com/2012/05/04/data-source-events/
May 04, 2012
126 hits



Recent Blog Posts
130


Tip of the day: isDocument() for nested data in the Data View control
Wed, Aug 13th 2014 5:05a   Patrick Kwinten
You can show nested data in the details section of the Data View control. Read about it here: Data Views – Part 10: Nested Repeat in the Detail Section. In case you have a ‘flat’ Data View (one without collapisble categories) you do not need to detect if your ‘var’ property is a document. But when you have a categorized Data View you better check it otherwise opening/closing categories will give an error… [read] Keywords: xpages
111


Handsons from EntwicklerCamp 2014
Mon, Aug 11th 2014 6:25a   Patrick Kwinten
Subject Download Presentation Javascript – Die ersten Schritte http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/aa9f566f61ab0287c1257be200295c9d/$FILE/H1-Javascript_HandsOn_1_0_0.pdf Lotuscript – die ersten Schritte http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/4865dda7cb38ffc0c1257be200295ca0/$FILE/H2-LotusScript.pdf Formeln – die erste Schritte http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc3 [read] Keywords: domino lotusscript notes xpages javascript
149


Presentations from EntwicklerCamp 2014 – Track 4
Mon, Aug 11th 2014 6:05a   Patrick Kwinten
Track Session Subject Download Presentation Track4 Session1 The Road to Damascas – LS and @Formula to SSJS http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/ddd7b3baaf49dbadc1257be200295cc1/$FILE/T4S1-Xpages-road%20to%20damascas.pdf Track4 Session2 Wo speichert Notes was? Und was kann der Entwickler damit anfangen? http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/2071360f70207a00c1257be200295cbf/$FILE/T4S2-Wo%20speich [read] Keywords: domino notes xpages development java
137


Presentations from EntwicklerCamp 2014 – Track 3
Mon, Aug 11th 2014 5:45a   Patrick Kwinten
Track Session Subject Download Presentation Track3 Session1 LotusScript Best-Practices (“keep it simple”) http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/60c08dbd3c75cf5fc1257be200295cba/$FILE/T3S1-Lotusscript.pdf Track3 Session2 Java Beans sind kompliziert? Nicht die Bohne! http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/1a9601442b32b155c1257be200295ca6/$FILE/T3S2-JavaBeans.pdf Track3 Session3 OpenNTF R [read] Keywords: connections ibm lotusscript xpages java javascript openntf
181


Presentations from EntwicklerCamp 2014 – Track 2
Mon, Aug 11th 2014 5:25a   Patrick Kwinten
Track Session Subject Download Presentation Track2 Session1 IBM Connections http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/e76eba65a7777a5fc1257be200295cc3/$FILE/T2S1-IBM%20Connections.pdf Track2 Session2 XPages und Connections http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/3ce43336a0c21017c1257be200295cb1/$FILE/T2S2-Xpages%20und%20Connections.pdf Track2 Session3 iNotes deep dive http://www.entwicklercamp.de/konferen [read] Keywords: connections ibm inotes notes xpages database java security
182


Presentations from EntwicklerCamp 2014 – Track 1
Mon, Aug 11th 2014 4:05a   Patrick Kwinten
Track Session Subject Download Presentation Track1 Session1 XPages – 1 – Notes-Daten auf das Smartphone oder Tablet – Datenaustausch zwischen nativen mobilen Anwendungen und Domino mit Hilfe von XPage http://www.entwicklercamp.de/konferenz/ent2014.nsf/bc36cf8d512621e0c1256f870073e627/8138c341016c7bd7c1257be200295caa/$FILE/T1S1-Notes-Daten-1.pdf Track1 Session2 XPages – 1 – Notes-Daten auf das Smartphone oder Tablet – Datenaustausch zwischen nativen mobilen [read] Keywords: domino notes xpages
335


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
245


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
188


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
210


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




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