359 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Custom control to display a My Communities list
Wed, Oct 22nd 2014 46
(extended) Managed Bean for SBT SDK
Tue, Oct 21st 2014 46
Developing social applications with the Social Business Toolkit SDK
Mon, Oct 20th 2014 80
CU in Orlando !
Sat, Oct 4th 2014 171
Social Connections VII – Stockholm
Sun, Sep 28th 2014 120
Icon UK (retrospect)
Sun, Sep 28th 2014 193
Contributor Candidacy OpenNTF
Sun, Sep 28th 2014 185
Top 10
Comparison between Extension Library (OpenNTF) and Upgrade Pack 1 (IBM) – You’re help is appreciated
Tue, May 21st 2013 513
5 weeks of XPages
Thu, Jul 3rd 2014 405
CALENDARIO: A responsive calendar plugin
Mon, Apr 8th 2013 327
New project on OpenNTF: DB Manager Notifier
Wed, Jul 2nd 2014 307
Adding search to an application with XPages interface (quickly)
Mon, Jun 23rd 2014 287
Demo of the Single Page Application Control wizard
Mon, Jun 30th 2014 278
Rooms & Connections now in Google Play
Tue, Jul 1st 2014 262
Presentations from EntwicklerCamp 2014 – Track 2
Mon, Aug 11th 2014 257
Presentations from EntwicklerCamp 2014 – Track 1
Mon, Aug 11th 2014 256
Presentations from EntwicklerCamp 2014 – Track 4
Mon, Aug 11th 2014 220


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



Recent Blog Posts
46


Custom control to display a My Communities list
Wed, Oct 22nd 2014 8:45a   Patrick Kwinten
In the managed bean I described in an earlier post there was a method to return a list of communities in IBM Connections where the authenticated user is member of (getMyCommunities()). So what can you do with it? In IBM Connections when you section Communities I’m a Member you get to see a list with communities you particpate in, along some sub data for each community: Social Business Toolkit API I find the following link the best resource to discover the details of the SBT API. For al [read] Keywords: connections domino ibm lotus xpages community javascript profile
46


(extended) Managed Bean for SBT SDK
Tue, Oct 21st 2014 8:45a   Patrick Kwinten
In a previous post I mentioned my blogpost ‘Developing social applications with the Social Business Toolkit SDK‘. In the post I defined a managed bean to connect to the Files service  and return data via the getMyFiles method. In this post I will extend that bean to access other services in IBM Connections: Activity Stream Blogs Bookmarks Communities Files Forums Profiles Later I will refine the ServiceBean object with new methods derived from the ones available in the SBT SDK. I [read] Keywords: connections ibm applications community java javascript profile widget xml
80


Developing social applications with the Social Business Toolkit SDK
Mon, Oct 20th 2014 4:05a   Patrick Kwinten
Last week I have posted a blog item on the company blog, which you can read here. In this post I take you through the first steps how to enable a IBM Notes application to integrate with IBM Connections via the Social Business Toolkit SDK using XPages. Learning Connections I have the idea to build a set of custom controls which would allow you to quickly create mash-up applications to interact with IBM Connections and include them back in Connections or run them as stand alone apps. This approac [read] Keywords: connections domino ibm lotus mash-up notes xpages application applications openntf
171


CU in Orlando !
Sat, Oct 4th 2014 4:25a   Patrick Kwinten
I decided last minute to take usage of the early bird rate for IBM ConnectED. Since the event has this time more focus on technical content and a pre-release of Mail Next I have a feeling this edition will be of great value. Hope to CU in Orlando! 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);} e [read] Keywords: ibm javascript
120


Social Connections VII – Stockholm
Sun, Sep 28th 2014 11:45p   Patrick Kwinten
Social Connections VII will be held in the stunning city of Stockholm in Sweden on Thursday 13th and Friday 14th November, 2014. Since I work for Infoware, a company who will be sponsoring the event in order to promote their IBM Connections management tool called Domain Patrol Social I would like to highlight this event on my blog. From previous events (Amsterdam) I can only recommend this event to those working with IBM Connections, integration with other platforms (e.g IBM Notes) and social [read] Keywords: collaboration connections ibm notes integration
193


Icon UK (retrospect)
Sun, Sep 28th 2014 9:25a   Patrick Kwinten
On the Friday 12th of September 2014, I attended the Icon UK in the IBM Southbank Customer Centre, London. This review is a bit late since the attendance was part of my vacation. Achieving Developer Nirvana With Codename BlueMix BlueMix is a platform for composing and running virtually any application in the cloud without having to worry about the hardware, software, and networking needed to do so. This means that developers can be left to do what they do best….CODE! By eliminating the need to [read] Keywords: admin connections domino ibm notes sametime xpages application applications community database development integration java javascript mobile networking profile server tivoli twitter wiki
185


Contributor Candidacy OpenNTF
Sun, Sep 28th 2014 4:25a   Patrick Kwinten
OpenNTF is a rich environment for developers and administrators to express and share their ideas, hopes and believes regarding the IBM Notes Domino platform. Everyone’s contribution is valuable and treated with respect. As contributor director I bring my experience from both Notes customer and ISV side to this great community. I have decided to nominate myself as contributor candidate for the OpenNTF board. The voting ends October 1 so hurry up in case you have not voted yet. The reason f [read] Keywords: domino ibm notes applications community openntf
174


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




129


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
184


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




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