XPages: The Problem with DataContext Variables
There is a large problem with data context variables if they are bound dynamically. They will be recomputed again and again, even when in Partial Execution mode and if they are not in use. Here is a...
View ArticleA performance bottleneck?
Paul Withers wrote an very interesting article about the difference between a passthrough UIComponents and the corresponding XPages elements. This means the use of <br> instead a <xp:br>,...
View ArticleIn Ya Facet!
Using Facets in XPages is very nice, because it gives you an easy way for a global design of your application (and much more). It can be used in all XPages and their custom controls. The xp:callback...
View ArticleQuick-n-Dirty: How to add HTML 5 events
One way for adding unsupported events to an XPage or a component is the trick from Keith. But this is limited to CSJS only. If you need to execute a server side event, you just need change the name of...
View ArticleNotes 9: Some interesting xsp.properties
Some interesting new xsp.properties were introduced with Notes 9: xsp.client.resources.uncompressed When set to true, all Dojo libraries and CSS resources where delivered in the uncompressed version....
View ArticleXPages: Inject CSJS code at page top
Sometimes it is required to add some CSJS code at the beginning of the XPage before the Dojo libaries are loaded and are executed. This can be easily achieved by using the resource aggregation feature...
View ArticleXPages: Add inline CSJS with a Theme
I needed a way to add some inline CSJS to an existing application which affects any XPage, that’s why I did this them with a theme. Et voilà : <theme extends="webstandard" >    <resources...
View ArticleQuick-n-Dirty: Dojo 1.8 & Domino 8.5.3
If you want to use Dojo 1.8 with Domino 8.5.3, you can do the following: 1. Grab the Dojo JAR file from a ND9 installation: <PATH TO...
View ArticleXPages: Dojo 1.8.1 & jQuery Mobile 1.3.1
As David Leedy got into trouble with Dojo 1.8.1 and jQuery Mobile 1.3.1Â and after reading the follow up from Ulrich Krause with the analysis of the problem, I thought that this problem is caused from...
View ArticleXPages: Create your own Required Validators
If you try to implement your own JSF Validator (by implementing javax.faces.validator.Validator), you will notice that you are unable to check for an empty value. The reason for this is rather simple:...
View ArticleXPages: Use a PhaseListener for global URL commands
One of my customers wanted an easy way for printing XPages in different formats and with different content, depending of the current XPage opened in the browser. It was a requirement to develope a...
View ArticleThe Haunted Field
I am currently working on a huge application which exists for many years now, and has a long history with different developers and just a few manuals and/or documentations. But as often it is a...
View ArticleQuick-n-Dirty: Upgrading XPiNC / XULRunner
I have tested a small upgrade of XULRunner (the internal browser used for XPiNC applications) and successfully changed the version from 1.9.2.10 to 1.9.2.28 in DDE 8.5.3 and 9.0. Version 1.9.2.10 was...
View ArticleXPages: File downloads and blocked UI
Yesterday Christian asked a very interesting question: He had observed that the browser UI is blocked when clicking a button which generates a PDF on the server and sends the result. For about 30...
View ArticleQuick-n-Dirty: Ajax Fileuploads
Here is an example how to upload a file with Ajax to a XPage. It is a simple Javascript, and adds the required fields to the xhr request. This example works in FireFox and Chrome and should work on...
View ArticleSo Long, and Thanks For All the Fish
During the last three months I searched for a new project. I hoped to obtain a larger XPages development project. But in short, there are no projects. Even „normal“ Lotus Notes development projects...
View ArticleA productive period: cyccle.net
During the last weeks I started to think about my next steps leaving the yellow bubble. While I am still inside the bubble (and available for developement work, just contact me), I am in a very...
View ArticleJava: Reflection Madness
A very interesting presentation about reflection in Java: Reflection Madness from Dr. Heinz M. Kabutz. You can find the slides here.
View ArticleDas Unitymedia-Fiasko
Es begann im Frühjahr 2013, als der bestehende DSL-Vertrag in meinem damaligen Büro auslief, und ich – in weiser Vorraussicht, demnächst in meinem Haus Kabelanschluss zu benötigen – vorübergehend in...
View Article