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: Java
XPages: The Outputstream and binary data
As wiritten in the comments, Verne is correct. I just missed the „facesContext.responseComplete()“ in the beforeRenderResponse event. If you want to get control over the outputstream of a XPage, you can use the response object from the ExternalContext: var response … Weiterlesen
Veröffentlicht unter Java, Server, ServerSide JavaScript, Web, XPages
Verschlagwortet mit 8.5.3, Domino, HTTP, Java, Server, ServerSide JavaScript, Web, XPages
7 Kommentare
SSJS: Execute remote SSJS Code
I have created a small helper class to run SSJS code from a remote server. The basic idea behind this class is a question on stackoverflow: http://stackoverflow.com/questions/12054733/include-jss-file-from-notes-document-as-resource As far as I know there is no way to add a SSJS … Weiterlesen
Veröffentlicht unter Java, Java Script, ServerSide JavaScript, XPages
Verschlagwortet mit Domino, Java, Java Script, ServerSide JavaScript, XPages
3 Kommentare
XPages: Access resources and their content (2)
By using the same code as described in the previous article you can access the complied java classes. To get the correct path you have to do the following: 1. Select the java element you want to access 2. Have … Weiterlesen
Veröffentlicht unter Java, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, Java, ServerSide JavaScript, Tipp, XPages
Schreib einen Kommentar
XPages: Access resources and their content
To access XPages resources during runtime and to get their content as a string, you can use the following SSJS code snippet: <?xml version=“1.0″ encoding=“UTF-8″?> <xp:view xmlns:xp=“http://www.ibm.com/xsp/core“> <xp:label id=“label1″> <xp:this.value><![CDATA[#{javascript: var url = „/WEB-INF/faces-config.xml“; … Weiterlesen
Veröffentlicht unter Java, Java Script, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Designer, Domino, ServerSide JavaScript, Tipp, XPages
Ein Kommentar
XPages: Run your own Servlets
A really interesting article about running your own servlets on domino server can be found here: http://www.ibm.com/developerworks/cn/lotus/xpage-servlet/index.html It’s chinese, but you can translate f.e. with Google’s Translator. With 8.5.3 I had have some problems because the required interface IServletFactory could … Weiterlesen
Veröffentlicht unter Extensibility API, Java, JSF, Server, Web, XPages
Verschlagwortet mit 8.5.3, Domino, Extenisbility API, Java, JSF, Tipp, XPages
6 Kommentare
XPages application events: Create your own ApplicationListener (2)
There is another interface available which provides the additional method applicationRefreshed. This event is always raised if the method refresh() of the Application-Object is fired. Instead of implement the interface described in the previous posting, you have to use the … Weiterlesen
Veröffentlicht unter Extensibility API, Java, JSF, XPages
Verschlagwortet mit 8.5.3, Domino, Extenisbility API, Java, JSF, Tipp, XPages
5 Kommentare
XPages application events: Create your own ApplicationListener
If you want to get a handle to application events and want to know if a XPages application is created or destroyed (which means the application was destroyed because of a time out), you can implement this by creating your … Weiterlesen
Veröffentlicht unter Extensibility API, Java, JSF, XPages
Verschlagwortet mit 8.5.3, Domino, Extenisbility API, Java, JSF, Tipp, XPages
Ein Kommentar
DocumentDataSource with Signer/SignerWithFullAccess-Rights
Yesterday I read the very interessting question from Daniele Grillo at stackoverflow.com: Is a datasource available for XPages who can access the underlying document with different access levels? I have never seen one before, so I decided to do some … Weiterlesen
Veröffentlicht unter Java, JSF, Security, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, Java, JSF, Security, ServerSide JavaScript, XPages
7 Kommentare
Controlling the HTTP Expires Header
After reading a question on stack overflow about setting an own HTTP expires header and the problem that an additional header is generated automatically, I made some tests how the domino server can be forced to stop this behaviour programmatically. … Weiterlesen
XSnippets: XPages Localization Setter
I have submitted some XSnippets for the XSnippets-Contest. This is the first one, the XPages Localization Setter: The Snippet allows to change the language settings of a XPage „On-The-Fly“, including the used browser language, the dojo settings, the ressource files … Weiterlesen