Schlagwort-Archive: Server

Quick-n-Dirty: Dojo 1.8 & Domino 8.5.3

If you want to use Dojo 1.8 with Domino 8.5.3, you can do the following: 1. Grab the Dojo JAR file from a ND9 installation: <PATH TO DOMINO>\osgi\shared\eclipse\plugins\com.ibm.xsp.dojo_9.0.0<VERSION>.jar 2. Create a folder „dojo-1.8.0“ in your notes data directory <PATH TO … Weiterlesen

Veröffentlicht unter Dojo Toolkit, Infrastruktur, Java Script, Server, XPages | Verschlagwortet mit , , , , , , , | Schreib einen Kommentar

Notes 9: Some interesting xsp.properties

Some interesting new xsp.properties were introduced with Notes 9: xsp.client.resources.uncompressed When set to true, all Dojo libraries and CSS resources where delivered in the uncompressed version. The path changes f.e. to /xsp/.ibmxspres/dojoroot-1.8.1-u/dojo/dojo.js. xsp.client.script.dojo.html5attr When set to true, the Dojo HTML5 … Weiterlesen

Veröffentlicht unter Dojo Toolkit, HTML5, Server, XPages, XSP | Verschlagwortet mit , , , , , , | 11 Kommentare

XPages: High Performance Applications

During the last months I worked on a high performance XPages application used by a lot of end users.  To get a better data throughput, I decided to use a reverse proxy for load balancing, caching of ressources, SSL connections … Weiterlesen

Veröffentlicht unter Java, Java Script, Lotus Script, Performance, ServerSide JavaScript, Web, XPages | Verschlagwortet mit , , , , , , , , | 8 Kommentare

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 , , , , , , , | 7 Kommentare

Security: Another XSS Vulnerability in Domino

Stephan Wissel wrote about a XSS vulnerabilty for Domino servers (< 8.5.4) and in his post you will get an advise how to protect your domino server against this attack. Thanks for this! Works great! But there is still a … Weiterlesen

Veröffentlicht unter Infrastruktur, Java Script, Security, Server, Web, XPages | Verschlagwortet mit , , , , , , , | Schreib einen Kommentar

Quick-n-Dirty: Disable Domino’s Cache for easier development

I am currently developing a larger application and have a lot of different mobile devices for testing purposes. After making some changes it is required that all test devices have the latest version of my XPages running, and that the … Weiterlesen

Veröffentlicht unter Allgemein, Infrastruktur, Server, Web | Verschlagwortet mit , , , , , | 2 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

Veröffentlicht unter Java, JSF, Server, ServerSide JavaScript, Web, XPages | Verschlagwortet mit , , , , , , , , | Schreib einen Kommentar

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 , , , , , , , , , , , , , , | 1 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 , , , , , , , , , , , , , | 4 Kommentare

Security: Fernsteuerbare DocumentDataSources

Analog zu den ViewDataSources lassen sich auch DocumentDataSources über die Adresszeile des Browsers manipulieren: Der URL-Parameter databaseName ermöglicht hierbei die Steuerung der zugrundliegenden Datenbank, und überschreibt einen eventuell in der XPage hinterlegten Wert. <?xml version=“1.0″ encoding=“UTF-8″?> <xp:view xmlns:xp=“http://www.ibm.com/xsp/core“>    <xp:this.data> … Weiterlesen

Veröffentlicht unter Allgemein, JSF, Security, Server, Web, XPages | Verschlagwortet mit , , , , , , | 4 Kommentare