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
XPages: Additional Facets for Viewpanels
Today I found some additional facets / sections for a normal view panel component which can help to design a layout of an application. They are named like the wind directions and are equivalent to the position information for the … Weiterlesen
XPages: Access a datasource from one custom control in another one
On stackoverflow.com, a very interesting question was asked: How can you access a document datasource from one custom control in another custom control. And here comes my solution in a small SSJS function. First you have to add an id to … Weiterlesen
Veröffentlicht unter Java Script, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, ServerSide JavaScript, Tipp, XPages
2 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
Quick-n-Dirty: HTML5 UIComponents without effort
Obviously it was Chris Toohey who first has discovered the way of manipulation UIComponents with the tagName attribute: http://www.dominoguru.com/pages/xpage_xptext_tagName_options.html The xp:text – element can easily manipulated to add HTML5 functionality to a XPages. By overriding the property tagName, the component … Weiterlesen
Veröffentlicht unter Allgemein, HTML, Java Script, JSF, Web, XPages, XSP
Verschlagwortet mit 8.5.3, Designer, Domino, HTML, Java Script, JSF, Partial Refresh, Tipp, Web, XPages, XSP
2 Kommentare
XSnippets: Cancel a partial refresh via SSJS
With the assistance of Philippe Riand I was able to shorten the original idea of canceling a partial refresh to a single SSJS function. By setting the HTTP header „X-XspRefreshId“ to „@none“ it is possible to get the same result … Weiterlesen
Veröffentlicht unter Allgemein, Dojo Toolkit, HTML, Java Script, Performance, Server, ServerSide JavaScript, Web, XPages, XSnippet, XSP
Verschlagwortet mit 8.5.3, Dojo Toolkit, Domino, HTML, HTTP, Java Script, Partial Refresh, Performance, Server, ServerSide JavaScript, Tipp, Web, XPages, XSnippet, XSP
Ein Kommentar
Cancel a partial refresh via SSJS
After reading Tim Tripcony’s blog post , I thought about a way how to cancel a partial refresh via server side javascript. To bring this to life, there are just three things to do: Abort the processing of the request … Weiterlesen
Veröffentlicht unter Allgemein, Dojo Toolkit, Java Script, Performance, Server, ServerSide JavaScript, Web, XPages, XSP
Verschlagwortet mit 8.5.3, Dojo Toolkit, Domino, HTML, HTTP, Java Script, Partial Refresh, Performance, Server, ServerSide JavaScript, Tipp, Web, XPages, XSP
4 Kommentare