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: ServerSide JavaScript
XPages: Running Google’s Chrome V8 Javascript Engine (2)
A while ago I tried to run Google’s V8 Javascript engine on top of XPages, and today I found the reason why my server crashed after the first click: I have tried to load the engine only once (statically), and … Weiterlesen
Veröffentlicht unter ServerSide JavaScript, XPages
Verschlagwortet mit 9.0, Domino, HTTP, Java, ServerSide JavaScript, XPages
2 Kommentare
REST & Security: Same-Origin Policy / CORS
The „Same-orginin policy„ is an important concept for protecting web applications. In short, only resources from the same domain are allowed, everything else is permitted denied. To allow access other domains in your application, you have to enable „CORS„, a … Weiterlesen
Veröffentlicht unter Java Script, REST, Security, Web
Verschlagwortet mit REST, Security, ServerSide JavaScript, Web
2 Kommentare
XPages: Running Google’s Chrome V8 Javascript Engine
After answering a question on Stackoverflow.com about the Prototype problematic in the XPages SSJS engine, I thought of running another Javascript engine on top of Domino. While you can use the JavaScripting API JSR223, I choosed the jav8 project for … Weiterlesen
Veröffentlicht unter Allgemein, ServerSide JavaScript, XPages
Verschlagwortet mit 9.0, Domino, HTTP, Java, ServerSide JavaScript, XPages
Schreib einen Kommentar
XPages & Angular.js: Accessing Rich Text (1)
If you want to access Rich Text with Angular.js, an easy way to get the content is to use a XPage as handler and grab the content of a XspInputRichText component. The component does all required steps automatically (f.e. it … Weiterlesen
Veröffentlicht unter Allgemein, Angular.js
Verschlagwortet mit Angular.js, Domino, HTML, Java, Java Script, ServerSide JavaScript, Web, XPages
3 Kommentare
XPages & Angular.js: Fileuploads
When using Angular.js you sooner or later want to upload a file to your Domino server. But to do this, you not only need some nice looking frontend, you also need some code in the backend. For the frontend you … Weiterlesen
Veröffentlicht unter Angular.js
Verschlagwortet mit Angular.js, Domino, HTML, Java Script, ServerSide JavaScript, Web, XPages
2 Kommentare
XPages: SSJS & How you can have fun at the office
This article is a demonstration of what harmful things you can do when using the SSJS & prototyping wrong (described here by the great Mark Roden). Don’t do that! Especially not on a productive server! Wanna have a lot … Weiterlesen
Veröffentlicht unter ServerSide JavaScript
Verschlagwortet mit 8.5.3, 9.0, Domino, Java, ServerSide JavaScript, XPages
5 Kommentare
Quick-n-Dirty: Ajax Fileuploads
Here is an example how to upload a file with Ajax to a XPage. It is a simple Javascript, and adds the required fields to the xhr request. This example works in FireFox and Chrome and should work on Domino … Weiterlesen
Veröffentlicht unter Dojo Toolkit, Java Script, ServerSide JavaScript, Web, XPages, XSP
Verschlagwortet mit 8.5.2, 8.5.3, 9.0, Dojo Toolkit, Domino, Java Script, Partial Refresh, ServerSide JavaScript, Web, XPages, XSP
Ein Kommentar
XPages: Create your own Required Validators
If you try to implement your own JSF Validator (by implementing javax.faces.validator.Validator), you will notice that you are unable to check for an empty value. The reason for this is rather simple: The method validate() is only called, if there … Weiterlesen
Veröffentlicht unter Java, JSF, ServerSide JavaScript, XPages
Verschlagwortet mit 9.0, Designer, Domino, Java, JSF, ServerSide JavaScript, XPages
4 Kommentare
Quick-n-Dirty: How to add HTML 5 events
One way for adding unsupported events to an XPage or a component is the trick from Keith. But this is limited to CSJS only. If you need to execute a server side event, you just need change the name of … Weiterlesen
Veröffentlicht unter HTML, HTML5, Java Script, ServerSide JavaScript, Web, XPages
Verschlagwortet mit 8.5.3, Designer, Domino, HTML, HTML5, Java Script, Partial Refresh, ServerSide JavaScript, Tipp, Web, XPages
3 Kommentare
Quick-n-Dirty: Disable all validators at once
In a larger project there are a lot of forms to fill in, each form has many fields with validators and converters. During the development of the workflow it was really helpful to disable all validators at once by using … Weiterlesen
Veröffentlicht unter Allgemein, Errorhandling, Java Script, ServerSide JavaScript, XPages
Verschlagwortet mit 8.5.3, Domino, Errorhandling, Java Script, ServerSide JavaScript, Tipp, XPages
Schreib einen Kommentar