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
Archiv des Autors: Sven Hasselbach
Problems with Handles: When the same document is not the same
Disclaimer: This will work in Java, SSJS and Lotus Script. When opening the same document from the same database in different instances, and then recycle one of them, the other documents will be recycled too, because the handle to the … Weiterlesen
Veröffentlicht unter Java, Java Script, Lotus Script
Verschlagwortet mit Domino, Java, Java Script, Lotus Script
Schreib einen Kommentar
XPages: Bootstrap File Input
When using the default file upload control in a Bootstrap application, the default file upload button does not fit anymore to the design: To fix this issue, you can use a small jQuery plugin named Twitter Bootstrap File Input. When … Weiterlesen
Veröffentlicht unter Java Script, Web, XPages
Verschlagwortet mit 8.5.3, 9.0, Bootstrap, HTML, HTML5, Java Script, jQuery, Web, XPages
2 Kommentare
XPages: A Bootstrap Skin for CKEditor
I have found a very nice skin for CKEditor, the “BootstrapCK-Skin”. It gives a bootstrap look and feel to the Editor: The dialogs are also skinned: You can find and download the skin here http://kunstmaan.github.io/BootstrapCK-Skin/ To use the skin in … Weiterlesen
Veröffentlicht unter Java Script, Web, XSP
Verschlagwortet mit 9.0, Domino, Java Script, XPages
4 Kommentare
Quick-n-Dirty: Use „isDocEditable“ in an old school Java Agent
If you want to check if a document is editable, you can do this in an old school Java agent with the NAPI function isDocEditable provided by the XSPNative class. First you have to add the required JARs to your … Weiterlesen
XPages: Set a Theme for a single XPage
… or how you can use your own FacesContext implementation. What we need first is our own FacesContext implementation with new methods to set the StlyeKitId (which is the name of the Theme) for initializing the StyleKit instance: package ch.hasselba.xpages; … Weiterlesen
Quick-n-Dirty: A Hotfix for CKEditor 4
Russell Maher wrote a very interesting article about using CKEditor 4 in XPages, but the current solution requires to change to HTML files directly on the server. But with this little Hotfix you can use CKEditor form a NSF an … Weiterlesen
Veröffentlicht unter Java Script, XPages
Verschlagwortet mit 9.0, Domino, Java Script, XPages
3 Kommentare
XPages: Use async / defer option for external CSJS Script Libraries
When adding CSJS libraries to your XPage, try to use the defer or the async option for a better user experience. When not using this options, the Page might be blocked during page load. Have a look at this example … Weiterlesen
Veröffentlicht unter HTML5, Java Script, Performance, Web, XPages
Verschlagwortet mit 8.5.3, 9.0, Domino, HTML, HTML5, Java Script, Performance, Tipp, Web, XPages
Ein Kommentar
XPages: Add an attribute to the BODY-Element
Today I wanted to add an attribute to the <BODY> element of my XPage. My goal was to generate HTML code like this: <body role=“document“> After some testing I found a solution by overwriting the method encodeHtmlBodyStart. To do this, … Weiterlesen
XPages: Use a Method Binding as Converter
I accidentally found a way to add a method binding as a converter to a component, because I have added a managed bean as a converter directly in the source code. The DDE does not support this. If you go … Weiterlesen
XPages: Optimized Partial Refreshs (2)
With the Optimized Partial Refresh you can do a lot of nice things: If only a part of the form is sent to the server, only this part of the components in the JSF component tree will be processed. This … Weiterlesen
Veröffentlicht unter Dojo Toolkit, Java, JSF, Performance, XPages, XSP
Verschlagwortet mit 9.0, Dojo Toolkit, Domino, Java Script, JSF, Partial Refresh, Performance, Server, XPages, XSP
Schreib einen Kommentar