Schlagwort-Archive: Tipp

XPages & Angular.js: AngScope for Firebug

AngScope is a „Simple Firebug extension that allows you to inspect the AngularJS scope that a DOM element binds to.“ Just do a right click on the DOM element you want to inspect and select „Inspect Angular Scope„: This gives … Weiterlesen

Veröffentlicht unter Angular.js | Verschlagwortet mit , , , | Ein Kommentar

XPages: Create a Database without Template

On stackoverflow.com, an interessting topic was asked about how to create a notes database programmatically without using a template. The problem is, that it will not contain a Icon document. But in this document are all database properties stored. So … Weiterlesen

Veröffentlicht unter Java, XPages | Verschlagwortet mit , , , , , | 2 Kommentare

You might not need jQuery

I have found a very interesting website: You might not need jQuery. It contains a lot of usefull solutions for the different IE versions.

Veröffentlicht unter Java Script, jQuery | Verschlagwortet mit , , | Schreib einen Kommentar

XPages: Use async / defer option for external CSJS Script Libraries

When adding CSJS libraries to your XPage, try to use the defer or the async option for a better user experience. When not using this options, the Page might be blocked during page load. Have a look at this example … Weiterlesen

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

XPages: Optimized Partial Refreshs

Inspired by the last post of Mark, I have created a small CSJS snippet which allows to optimize the behaviour of a Partial Refresh. Normally, if you execute a Partial Refresh, all elements of a form are sent to the … Weiterlesen

Veröffentlicht unter Dojo Toolkit, Java Script, Performance, Web, XPages, XSP | Verschlagwortet mit , , , , , , , , , | 6 Kommentare

Java: Reflection Madness

A very interesting presentation about reflection in Java: Reflection Madness from Dr. Heinz M. Kabutz. You can find the slides here.

Veröffentlicht unter Java | Verschlagwortet mit , | Schreib einen Kommentar

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

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