Archiv der Kategorie: Web

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: 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 , , , , , , , , , , | 5 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 , , , , , , , | 1 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

XPages: UI for editing localization files (1)

For one of my customers I am developing an easy way for editing the localization/translation of existing XPages applications: Instead of importing and exporting the property files with the Domino Designer (which is not an option for non-developers) it would … Weiterlesen

Veröffentlicht unter Java, ServerSide JavaScript, Web, XPages | Verschlagwortet mit , , , , , , , , | 1 Kommentar

XPages: Disable iOS „autocorrect“ and „autocapitalize“ features

Two of the worst features ever implemented are the „autocapitalize“ and „autocorrect“ features from iOS devices, because they are enabled by default. It does not make fun to write a blog comment in another language… Or if you just want … Weiterlesen

Veröffentlicht unter HTML, Mobile, Web, XPages | Verschlagwortet mit , , , , , | Schreib einen Kommentar

XPages: Capture Signatures with the jQuery-Plugin ‚jSignature‘

In one of my current projects it is one of the goals that the members of the field staff have the possibility to sign a report directly on their iPad. After some research I found the very cool jQuery plugin … Weiterlesen

Veröffentlicht unter Java, Java Script, Mobile, Web, XPages | Verschlagwortet mit , , , , , , , , , | 10 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: Lost in Translation

The localization feature is really nice and helps a lot, but you also can have some trouble using it. The first problem is that the language codes which are used in XPages are different from the language codes in java.util.Locale. … Weiterlesen

Veröffentlicht unter Allgemein, CSS, HTML, Java Script, Web, XPages | Verschlagwortet mit , , , , , , , | Schreib einen Kommentar