Quantcast
Channel: blog@hasselba.ch
Browsing all 169 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

A 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 Article


Image may be NSFW.
Clik here to view.

In 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 Article

Image may be NSFW.
Clik here to view.

Quick-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 Article

Image may be NSFW.
Clik here to view.

Notes 9: No Comment!

View Article


Notes 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 Article

Image may be NSFW.
Clik here to view.

XPages: 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 Article

Image may be NSFW.
Clik here to view.

XPages: 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 Article


Image may be NSFW.
Clik here to view.

Quick-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 Article


Image may be NSFW.
Clik here to view.

XPages: 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 Article

Image may be NSFW.
Clik here to view.

XPages: 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 Article

XPages: 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article


Quick-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 Article

Image may be NSFW.
Clik here to view.

XPages: 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 Article


Image may be NSFW.
Clik here to view.

Quick-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 Article

So 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 Article


A 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 Article

Java: Reflection Madness

A very interesting presentation about reflection in Java: Reflection Madness from Dr. Heinz M. Kabutz. You can find the slides here.

View Article

Das 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
Browsing all 169 articles
Browse latest View live