Archiv der Kategorie: Server

XPages: A ClientSide State

I have created a ClientSide State for XPages, which allows horizontal scaling of XPages applications with a single click. After installing the OSGi Plugin on the servers and the DDE, you can activate it with a single click: Then, the … Weiterlesen

Veröffentlicht unter OSGi, Server, XPages | Verschlagwortet mit , , , | 7 Kommentare

REST & Security: Why HTTP GET is insecure (and the other methods too)

Yesterday René commented that submitting username and password with HTTP GET is insecure, because they are submitted in clear text over the wire as part of the URI. At the first moment, I did not give some thought about it, because it is known … Weiterlesen

Veröffentlicht unter REST, Security, Server, Web | Verschlagwortet mit , , , | 2 Kommentare

XPages: WebContent Files (2) – Manipulate exitsting files using the Java NAPI

In this article, I will shortly give an overview how you can edit existing file from the WebContent folder (Don’t miss the first article on this topic). First, let’s create a view to display the design elements of the WebContent … Weiterlesen

Veröffentlicht unter Java, Server, XPages | Verschlagwortet mit , , , , , | 3 Kommentare

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

Quick-n-Dirty: Use your own Factory classes in XPages

Here is a easy way to use your own factory classes in XPages: 1. Create a file named „com.ibm.xsp.factories.properties“ in the WEB-INF-Folder of your NSF     2. In this file, define the factory classes you want to use in … Weiterlesen

Veröffentlicht unter Extensibility API, Java, JSF, Server, ServerSide JavaScript, XPages | Verschlagwortet mit , , , , , , , | 4 Kommentare

Quick-n-Dirty: Control Dojo generation for individual XPages

Another interesting question has been asked on stackoverflow.com: How to enable or disable the Dojo libraries for individual XPages, not the whole application? Just adding the parameter as shown below to the XPage won’t work: <xp:this.properties> <xp:parameter name=“xsp.client.script.libraries“ value=“none“ /> … Weiterlesen

Veröffentlicht unter ExtLib, Server, ServerSide JavaScript, XPages | Verschlagwortet mit , , , , , , , | 1 Kommentar

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