Schlagwort-Archive: XSP

XPages: Dojo 1.8.1 & jQuery Mobile 1.3.1

As David Leedy got into trouble with Dojo 1.8.1 and jQuery Mobile 1.3.1  and after reading the follow up from Ulrich Krause with the analysis of the problem, I thought that this problem is caused from the AMD loader of … Weiterlesen

Veröffentlicht unter Dojo Toolkit, HTML, Java Script, ServerSide JavaScript, Web, XPages, XSP | Verschlagwortet mit , , , , , , , , , , | 2 Kommentare

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

Quick-n-Dirty: Non Closable Dialog for ExtLib

I have created a dirty hack for dialogs which prevents users to close the dialog by pressing the escape key or the close button. In my first approach  (StackOverflow.com)the hack has overwritten all dialogs for the whole XPage. This version … Weiterlesen

Veröffentlicht unter Dojo Toolkit, ExtLib, Java Script, XSP | Verschlagwortet mit , , , , , , , , | Hinterlasse einen 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 , , , , , , , , , , | 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 , , , , , , , , , , , , , , | 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 , , , , , , , , , , , , , | 2 Kommentare

XSnippets: Fire querySave / postSave – Events

The second XSnippet I have added to the XSnippet Contest is a help to fire the querySave- and postSave-events from SSJS: Save Datasource & Fire querySave/postSave events If you only do a simple document1.save() , the events of a datasource … Weiterlesen

Veröffentlicht unter Java Script, ServerSide JavaScript, Web, XPages, XSnippet | Verschlagwortet mit , , , , , | Hinterlasse einen Kommentar

LotusScript in XPages (3): Quick-n-Dirty-Aktivierung

LotusScript in XPages Dies ist der dritte Teil des Artikels “LotusScript in XPages”. Der erste Teil befindet sich hier, der zweite Teil hier.   Die Quick-n-Dirty-Aktivierung Damit die BindingFactory verwendet werden kann, müsste eigentlich ein Plugin erstellt werden, doch es … Weiterlesen

Veröffentlicht unter Allgemein, Expression Language, Extensibility API, Java, JSF, Lotus Script, XPages, XSP | Verschlagwortet mit , , , , , , , , , | 6 Kommentare

LotusScript in XPages (2): LotusScript-Wrapper

LotusScript in XPages Dies ist der zweite Teil des Artikels “LotusScript in XPages”. Der erste Teil befindet sich hier.   Der LotusScript-Wrapper Um dynamischen LotusScript-Code auszuführen, bietet sich die Execute()-Funktion an: Mit der Funktion lässt sich fast der gesamte Umfang … Weiterlesen

Veröffentlicht unter Agenten, Allgemein, Extensibility API, Java, JSF, Lotus Script, XPages, XSP | Verschlagwortet mit , , , , , , , , , , | 2 Kommentare

LotusScript in XPages (1): Basics

LotusScript in XPages Dies ist der erste Teil des Artikels “LotusScript in XPages”. Der zweite Teil befindet sich hier.   Wäre es nicht schön, wenn man in XPages direkt mit Lotus Script arbeiten könnte? Wenn es einen Weg gäbe, mit … Weiterlesen

Veröffentlicht unter Allgemein, Expression Language, Extensibility API, Java, JSF, Lotus Script, XPages, XSP | Verschlagwortet mit , , , , , , , , , | 2 Kommentare