Suche
Kategorien
Über…
Das ist das Blog von Sven Hasselbach über Themen aus der Entwicklung und alles, was ihm sonst so durch den Kopf geht.
Seit 2003 als freiberuflicher Entwickler deutschlandweit im Einsatz, mit dem Schwerpunkten Lotus Notes & XPages, Spring, Java & OSGi
IBM ICS Champion 2013
Um Kontakt mit mir aufzunehmen, einfach eine eMail an contact<at>hasselba.ch schicken oder mich bei XING finden:
Projektanfragen sind immer willkommen!-
Neueste Beiträge
Neueste Kommentare
- Chris Eggenberger bei xsp.application.context.proxy
- Chris Eggenberger bei xsp.application.context.proxy
- Displaying Markdown in an XPage using the showdown.js library - wp2020.focul.net bei XPages: Inject CSJS code at page top
Archive
Meta
Schlagwort-Archive: Java
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 global solution for every XPage-based application … Weiterlesen
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: The method validate() is only called, if there … Weiterlesen
Veröffentlicht unter Java, JSF, ServerSide JavaScript, XPages
Verschlagwortet mit 9.0, Designer, Domino, Java, JSF, ServerSide JavaScript, XPages
4 Kommentare
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>, or a <div> instead of a <xp:div>. A while ago I have … Weiterlesen
Veröffentlicht unter Allgemein, Java, JSF, Performance, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, Java, Partial Refresh, Performance, XPages
Schreib einen Kommentar
XPages: compositeData is undefined
An interesting question was asked on StackOverflow.com: The compositeData of custom control is undefined in beforeRenderResponse event. I have never noticed this before, but if you are accessing the compositeData object in the before-, afterRenderResponse or the afterRestoreView event, the … Weiterlesen
Veröffentlicht unter Java, JSF, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, Java, Java Script, JSF, ServerSide JavaScript, Tipp, XPages
Schreib einen Kommentar
Quick-n-Dirty: Import SSJS libraries with DXL
In the last time I have developed different techniques for manipulating the design elements of XPages applications. While I am still working on a way for manipulating the localization files, I was playing a little bit with DXL imports. Here … Weiterlesen
Veröffentlicht unter Allgemein, Java, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Designer, Domino, Java, ServerSide JavaScript, Tipp, XPages
Schreib einen Kommentar
XPages: UI for editing localization files (1)
For one of my customers I am developing an easy way for editing the localization/translation of existing XPages applications: Instead of importing and exporting the property files with the Domino Designer (which is not an option for non-developers) it would … Weiterlesen
Veröffentlicht unter Java, ServerSide JavaScript, Web, XPages
Verschlagwortet mit 8.5.3, Designer, Domino, HTML, Java, ServerSide JavaScript, Tipp, Web, XPages
Ein Kommentar
Quick-n-Dirty: Use your own Factory classes in XPages (2) – The VirtualPageTransformer
While playing a little bit with core XPages functionality I found the interesting VirtualPageTransformer interface. With this interface it is possible to implement „virtual“ XPages, and this allows to do something which can be described like an url mapping (the … Weiterlesen
Quick-n-Dirty: Use your own Factory classes in XPages
Here is a easy way to use your own factory classes in XPages: 1. Create a file named „com.ibm.xsp.factories.properties“ in the WEB-INF-Folder of your NSF 2. In this file, define the factory classes you want to use in … Weiterlesen
Veröffentlicht unter Extensibility API, Java, JSF, Server, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, Extenisbility API, Java, JSF, ServerSide JavaScript, Tipp, XPages
4 Kommentare
Quick-n-Dirty: A simple isRecycled() method (2)
Tommy Valand improved the idea: In his solution the isDead method of the NotesBase class is accessed, and this works better, because the method addionally checks for the C object handle. Here you can find the method: http://stackoverflow.com/questions/12740889/what-is-the-least-expensive-way-to-test-if-a-view-has-been-recycled Update: If you … Weiterlesen
Veröffentlicht unter Java, ServerSide JavaScript
Verschlagwortet mit Domino, Java, ServerSide JavaScript, Tipp
Ein Kommentar
Quick-n-Dirty: A simple isRecycled() method
Update: Please read the second article – there you will find a better version. You will find that the domino java API does not have a suitable method to test if a domino object was already recycled or not. And … Weiterlesen
Veröffentlicht unter Java, ServerSide JavaScript
Verschlagwortet mit Domino, Java, ServerSide JavaScript, Tipp
7 Kommentare