Schlagwort-Archive: 8.5.3

Quick-n-Dirty: Upgrading XPiNC / XULRunner

I have tested a small upgrade of XULRunner (the internal browser used for XPiNC applications) and successfully changed the version from 1.9.2.10 to 1.9.2.28 in DDE 8.5.3 and 9.0. Version 1.9.2.10 was released on 15.10.2010 Release Notes for Firefox 3.6.10 … Weiterlesen

Veröffentlicht unter XPages, XPiNC | Verschlagwortet mit , , , , , , | 5 Kommentare

XPages: Use a PhaseListener for global URL commands

One of my customers wanted an easy way for printing XPages in different formats and with different content, depending of the current XPage opened in the browser. It was a requirement to develope a global solution for every XPage-based application … Weiterlesen

Veröffentlicht unter Infrastruktur, Java, JSF, Web, XPages | Verschlagwortet mit , , , , , , , , , | 4 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

XPages: Add inline CSJS with a Theme

I needed a way to add some inline CSJS to an existing application which affects any XPage, that’s why I did this them with a theme. Et voilà: <theme extends=“webstandard“ >     <resources mode=“concat“>         <script>            … Weiterlesen

Veröffentlicht unter Java Script, Performance, Web, XPages | Verschlagwortet mit , , , , , , , | Ein Kommentar

XPages: Inject CSJS code at page top

Sometimes it is required to add some CSJS code at the beginning of the XPage before the Dojo libaries are loaded and are executed. This can be easily achieved by using the resource aggregation feature and including a CSJS library … Weiterlesen

Veröffentlicht unter Dojo Toolkit, HTML, Java Script, Web | Verschlagwortet mit , , , , , , , | 13 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 , , , , , , , , , , | 3 Kommentare

In Ya Facet!

Using Facets in XPages is very nice, because it gives you an easy way for a global design of your application (and much more). It can be used in all XPages and their custom controls. The xp:callback element defines a … Weiterlesen

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

A performance bottleneck?

Paul Withers wrote an very interesting article about the difference between a passthrough UIComponents and the corresponding XPages elements. This means the use of <br> instead a <xp:br>, or a <div> instead of a <xp:div>. A while ago I have … Weiterlesen

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

XPages: The Problem with DataContext Variables

There is a large problem with data context variables if they are bound dynamically. They will be recomputed again and again, even when in Partial Execution mode and if they are not in use. Here is a small demo XPage: … Weiterlesen

Veröffentlicht unter Allgemein, Performance, XPages | Verschlagwortet mit , , , , , , | 6 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 , , , , , , | Schreib einen Kommentar