All posts in 'English posts'

How to fix jQuery UIs autocomplete width

02-May-13

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, […]

Read the complete article »

Vaadin & Spring: Integrating Vaadin with Spring Security

30-Mar-13

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 […]

Read the complete article »

Maven snippets

26-Feb-13

This post will contain some Maven snippets that i use and forget regularly (similar to my Git Post). Download the sources of all dependencies of a project if available: mvn dependency:sourcesmvn dependency:sources Download the JavaDoc for all dependencies if available: mvn dependency:resolve -Dclassifier=javadoc -Dtype=jarmvn dependency:resolve -Dclassifier=javadoc -Dtype=jar Check for updates of all direct dependencies: mvn […]

Read the complete article »

Java implementation of Excels statistical functions NORMINV

21-Feb-13

I was recently in need of a java implementation of the inverted normal distribution function, named “NORMINV” in Excel 2003 and later: NORMINV. I only found a JavaScript implementation in kmpm’s repository norminv.js. It has quite a history, coming over C# from C++. I have the impression nobody wants to deal with the mathematics 😉 […]

Read the complete article »