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: Tipp
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: Control Dojo generation for individual XPages
Another interesting question has been asked on stackoverflow.com: How to enable or disable the Dojo libraries for individual XPages, not the whole application? Just adding the parameter as shown below to the XPage won’t work: <xp:this.properties> <xp:parameter name=“xsp.client.script.libraries“ value=“none“ /> … Weiterlesen
Veröffentlicht unter ExtLib, Server, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Dojo Toolkit, Domino, Extension Library, ExtLib, ServerSide JavaScript, Tipp, XPages
Ein Kommentar
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
Teamstudio Unplugged: SSJS & Error Messages
Today I had to fight with a mysterious error message in a XPage application which is running on Teamstudio Unplugged: SyntaxError: missing ; before statement This IS the message. No more information. No stack trace. No library name. Nothing! It … Weiterlesen
Veröffentlicht unter Errorhandling, Mobile, ServerSide JavaScript, XPages
Verschlagwortet mit Domino, Errorhandling, Mobile, ServerSide JavaScript, Tipp, XPages
Ein Kommentar
XPages: Capture Signatures with the jQuery-Plugin ‚jSignature‘
In one of my current projects it is one of the goals that the members of the field staff have the possibility to sign a report directly on their iPad. After some research I found the very cool jQuery plugin … Weiterlesen
Quick-n-Dirty: Development Helper for Unplugged
I started today testing/evaluating Teamstudio Unplugged for a customer project. The first thing I missed during developement was a button to sync the current page directly to see my changes on the fly. That’s why I created this small custom … Weiterlesen
Veröffentlicht unter HTML, Java Script, Mobile
Verschlagwortet mit Domino, HTML, Java Script, Mobile, Tipp
Schreib einen Kommentar
XPages: High Performance Applications
During the last months I worked on a high performance XPages application used by a lot of end users. To get a better data throughput, I decided to use a reverse proxy for load balancing, caching of ressources, SSL connections … Weiterlesen
Veröffentlicht unter Java, Java Script, Lotus Script, Performance, ServerSide JavaScript, Web, XPages
Verschlagwortet mit Domino, Java, Java Script, Lotus Script, Performance, Server, Tipp, Web, XPages
8 Kommentare
XPages: Lost in Translation
The localization feature is really nice and helps a lot, but you also can have some trouble using it. The first problem is that the language codes which are used in XPages are different from the language codes in java.util.Locale. … Weiterlesen
Veröffentlicht unter Allgemein, CSS, HTML, Java Script, Web, XPages
Verschlagwortet mit 8.5.3, CSS, Designer, Domino, HTML, Java Script, Tipp, Web
Schreib einen Kommentar
Quick-n-Dirty: @ClientType() in XPages
The @ClientType formula provides an interesting behaviour: If you add the value to a label, the result will be as expected. It returns “Web” in Browser and returns “Notes” in XPiNC. <?xml version=“1.0″ encoding=“UTF-8″?> <xp:view xmlns:xp=“http://www.ibm.com/xsp/core“> <xp:label value=“#{javascript:@ClientType()}“ id=“label1″ /> … Weiterlesen
Veröffentlicht unter @Formula, Allgemein, ServerSide JavaScript, Web, XPages
Verschlagwortet mit @Formula, Domino, ServerSide JavaScript, Tipp, Web, XPages
Schreib einen Kommentar