358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
IconUK
Thu, Sep 4th 2014 137
Internationalization of the Pager controls
Mon, Sep 1st 2014 94
Tip of the day: isDocument() for nested data in the Data View control
Wed, Aug 13th 2014 147
Handsons from EntwicklerCamp 2014
Mon, Aug 11th 2014 127
Presentations from EntwicklerCamp 2014 – Track 4
Mon, Aug 11th 2014 168
Presentations from EntwicklerCamp 2014 – Track 3
Mon, Aug 11th 2014 157
Presentations from EntwicklerCamp 2014 – Track 2
Mon, Aug 11th 2014 207
Top 10
Comparison between Extension Library (OpenNTF) and Upgrade Pack 1 (IBM) – You’re help is appreciated
Tue, May 21st 2013 440
5 weeks of XPages
Thu, Jul 3rd 2014 350
New project on OpenNTF: DB Manager Notifier
Wed, Jul 2nd 2014 263
Adding search to an application with XPages interface (quickly)
Mon, Jun 23rd 2014 238
CALENDARIO: A responsive calendar plugin
Mon, Apr 8th 2013 236
Demo of the Single Page Application Control wizard
Mon, Jun 30th 2014 232
Rooms & Connections now in Google Play
Tue, Jul 1st 2014 208
Presentations from EntwicklerCamp 2014 – Track 2
Mon, Aug 11th 2014 207
Presentations from EntwicklerCamp 2014 – Track 1
Mon, Aug 11th 2014 204
Presentations from EntwicklerCamp 2014 – Track 4
Mon, Aug 11th 2014 168


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
62 hits



Recent Blog Posts
137


IconUK
Thu, Sep 4th 2014 4:06a   Patrick Kwinten
I think I have made all arrangements to attend the upcoming Icon UK event. Looking forward to this event and I hope to C U there! Take Our Poll (function(d,c,j){if(!d.getElementById(j)){var pd=d.createElement(c),s;pd.id=j;pd.src='http://s1.wp.com/wp-content/mu-plugins/shortcodes/js/polldaddy-shortcode.js';s=d.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd,s);} else if(typeof jQuery !=='undefined')jQuery(d.body).trigger('pd-script-load');}(document,'script','pd-polldaddy-loade [read] Keywords: javascript
94


Internationalization of the Pager controls
Mon, Sep 1st 2014 5:45a   Patrick Kwinten
While translating an app for internationalization I noticed that Pager controls (e.g Pager Expand/Collapse, Pager Show/Hide Details)) were still default in English. So I wondered how you could translate them since they did not adapt to the selected language in my browser? It turns out that a workable way is to set the text explicit in the controls first to your default application language: Now they have become available for translation: If you open the properties file for the XPage/Custom C [read] Keywords: xpages application properties wiki
147


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
127


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
168


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
157


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
207


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
204


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
350


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
263


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




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