Just a short post without further explanation. Pretty printing xml in Oracle 10g and 11g differences quite a bit: 10g: SELECT XMLTYPE('<html><body><p>Hallo, Welt.</p></body></html>’).extract(’/’) FROM dual;select XMLTYPE(‘<html><body><p>Hallo, Welt.</p></body></html>’).extract(‘/’) from dual; 11g: SELECT XMLSERIALIZE(Document XMLTYPE('<html><body><p>Hallo, Welt.</p></body></html>’) AS CLOB INDENT SIZE = 2) FROM dual;select XMLSERIALIZE(Document XMLTYPE(‘<html><body><p>Hallo, Welt.</p></body></html>’) as CLOB INDENT SIZE = 2) from dual;
I recently noticed that the combobox item on an jQuery UI autocomplete grows way beyond the textfield input which is kinda ugly. This is how i fix it (that is, make it as width as the input item): $.extend($.ui.autocomplete.prototype.options, { open: function(event, ui) { $(this).autocomplete("widget").css({ "width": ($(this).width() + "px") }); } });$.extend($.ui.autocomplete.prototype.options, { open: function(event, […]
Damals, es muss 1997 gewesen. Ich hatte gefühlt vor wenigen Minuten das Telefon ausgestöpselt, das Modemkabel abgerollt, bis in mein Zimmer verlegt und mich mit einem 56k Modem ins Internet eingewählt und surfte bzw. chattete. Wie jedes Mal waren die Pfeiftöne kaum verklungen, da hörte ich meine Mutter “Bist Du schon wieder im Internet?” oder […]
Note: You’ll find the complete working sources here: Vaadin-SpringSecurityViewProvider. Finally, the 2nd post in my Vaadin & Spring series. This time about describing, instantiating and managing views with and through Spring Security. I’m a big fan of Spring Security as it is – at least for my purposes – incredible easy to add some long […]
This post has been featured on This Week in Spring – March 12, 2013. This is going to be one post in a series regarding integration and usage of the Spring Framework with Vaadin. First of all, thanks to @toberl for giving me a little kickstart to try Vaadin and for his hints for basic […]