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 der Kategorie: JSF
Quick-n-Dirty: Hotfix for DateTimeHelper
This weekend I stumbled over a bug of the DateTimeHelper: If the value of the field is empty, no actions and/or action listeners connected with a managed bean will be executed anymore. Here is an example of a small XPage … Weiterlesen
Things I never blogged about: XPages & Google’s EventBus
This is another topic I wanted to blog about for a long time: The use of Google’s EventBus in XPages applications. EventBus is a replacement for the Java in-process event distribution. It makes life a lot easier. My first plan … Weiterlesen
Veröffentlicht unter Java, JSF, XPages
Schreib einen Kommentar
XPages: SSJS, EL and Bindings
Because of reasons you should already know I avoid the use of SSJS in my XPages applications, but there are still some parts which can be easy realized in SSJS, but with EL only with a lot of effort. One of … Weiterlesen
XPages: An optimized JavaScript Resource Renderer
Ferry Kranenburg created a nice hack to solve the AMD loader problem with XPages and Dojo, and because of the missing ability to add a resource to the bottom of an XPage by a property, I have created a new … Weiterlesen
Veröffentlicht unter Java, JSF, XPages
Verschlagwortet mit 9.0, Java, Java Script, JSF, XPages
8 Kommentare
XPages: Execute Events with HTTP Get
To execute an event on the server, you normally have to send a POST request, because actions will be executed in the Invoke Application phase of the JSF lifecycle. A GET request will only process the Restore View and the … Weiterlesen
Veröffentlicht unter Dojo Toolkit, Java, Java Script, JSF, Performance, XPages, XSP
Verschlagwortet mit 8.5.3, 9.0, Dojo Toolkit, Domino, HTTP, Java, Java Script, JSF, Performance, XPages, XSP
2 Kommentare
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
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
XPages: Events, ActionListeners & Parameters
To access the event parameters of an event within your actionListener, you have to access the source object of your actionEvent object: package ch.hasselba.xpages; import java.util.List; import javax.faces.event.AbortProcessingException; import javax.faces.event.ActionEvent; import com.ibm.xsp.complex.Parameter; import com.ibm.xsp.component.xp.XspEventHandler; public class MyActionListener implements javax.faces.event.ActionListener { … Weiterlesen