Schlagwort-Archive: Tipp

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

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

XPages: compositeData is undefined

An interesting question was asked on StackOverflow.com: The compositeData of custom control is undefined in beforeRenderResponse event. I have never noticed this before, but if you are accessing the compositeData object in the before-, afterRenderResponse or the afterRestoreView event, the … Weiterlesen

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

Quick-n-Dirty: Import SSJS libraries with DXL

In the last time I have developed different techniques for manipulating the design elements of XPages applications. While I am still working on a way for manipulating the localization files, I was playing a little bit with DXL imports. Here … Weiterlesen

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

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

XPiNC and Attachments: A better PDF handling

For one of my customers I have created a small XPiNC application with contains a lot of documents with attached PDFs. One of the key requirements was the posibility to open and read a PDF directly in Notes Client, without … Weiterlesen

Veröffentlicht unter Allgemein, Infrastruktur, Java, ServerSide JavaScript, XPages, XPiNC | Verschlagwortet mit , , , , , | Schreib einen 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

Quick-n-Dirty: Use your own Factory classes in XPages (2) – The VirtualPageTransformer

While playing a little bit with core XPages functionality I found the interesting VirtualPageTransformer interface. With this interface it is possible to implement „virtual“ XPages, and this allows to do something which can be described like an url mapping (the … Weiterlesen

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

Quick-n-Dirty: Disable Validation for FileDownload control

If you are using the file download control,  you sooner or later want to allow your users to delete an existing file. But if you have some required fields on your XPage, a deletion is not possible because the validation … Weiterlesen

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

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 , , , , , , , , | 1 Kommentar