Schlagwort-Archive: Web

REST & Security: Same-Origin Policy / CORS

The „Same-orginin policy„ is an important concept for protecting web applications. In short, only resources from the same domain are allowed, everything else is permitted denied. To allow access other domains in your application, you have to enable „CORS„, a … Weiterlesen

Veröffentlicht unter Java Script, REST, Security, Web | Verschlagwortet mit , , , | 2 Kommentare

Raspberry Pi vs. IBM Bluemix – 1:0

I had some time last night (the whole family had gone to bed early), so I spent some to look at the XPages integration into Bluemix. I found the Greenwell Travel Expenses Demo: But after clicking a link, the page … Weiterlesen

Veröffentlicht unter Security, Web, XPages | Verschlagwortet mit , , , , | 6 Kommentare

Tschüß RFC 2616! War nett mit Dir!

Wie auf Heise berichtet, ist das RFC 2616 zu seinem 15ten Geburtstag in Rente geschickt worden, und sollte keine Verwendung mehr finden. Bei Fragen rund um die HTTP/1.1 Spezifikation gelten von nun an folgende RFCs: RFC7230 – HTTP/1.1: Message Syntax and … Weiterlesen

Veröffentlicht unter Web | Verschlagwortet mit | Schreib einen Kommentar

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

XPages & Angular.js: Accessing Rich Text (1)

If you want to access Rich Text with Angular.js, an easy way to get the content is to use a XPage as handler and grab the content of a XspInputRichText component. The component does all required steps automatically (f.e. it … Weiterlesen

Veröffentlicht unter Allgemein, Angular.js | Verschlagwortet mit , , , , , , , | 3 Kommentare

WordPress 3.9.1: Fix für Bug mit Copy & Paste von Bildern aus Zwischenablage

Um das Problem zu beheben, muss der Konfigurationsparameter paste_data_images für den TinyMCE Editor auf true gesetzt werden. Dazu kann man folgendes tun: In der Datei /wp-includes/class-wp-editor.php folgende Zeile ergänzen: init[„paste_data_images“] = true; Zu finden ist die richtige Stelle dafür in … Weiterlesen

Veröffentlicht unter Allgemein, Web | Verschlagwortet mit | Schreib einen Kommentar

WordPress 3.9.1: Bug mit Copy & Paste von Bildern aus Zwischenablage

Anscheinden hat das heutige Update des Blog eines meiner liebsten Features gekillt: Das direkte Copy & Pasten von Bildern aus der Zwischenablage geht nicht mehr. Tolle Sache. Siehe dazu: https://core.trac.wordpress.org/ticket/27970

Veröffentlicht unter Allgemein, Web | Verschlagwortet mit | Schreib einen Kommentar

XPages & Angular.js: Fileuploads

When using Angular.js you sooner or later want to upload a file to your Domino server. But to do this, you not only need some nice looking frontend, you also need some code in the backend. For the frontend you … Weiterlesen

Veröffentlicht unter Angular.js | 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: Bootstrap File Input

When using the default file upload control in a Bootstrap application, the default file upload button does not fit anymore to the design: To fix this issue, you can use a small jQuery plugin named Twitter Bootstrap File Input. When … Weiterlesen

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