This is a photo from a fire started just outside my appartment. The fire was dangerously close to my car but luckily the skilled firemen got the fire under control very quickly. The reason for the riot is apparently because of the re-publication of the famous Muhammad drawings in the Danish newspapers. I really think [...]
Entries from February 2008
Riots in Gellerup
February 16, 2008
Creating a custom JSF message component
February 12, 2008
The other day I was tasked with creating feedback messages for a JSF-based application as JavaScript alert dialogues. JSF already got a tag for displaying messages attached to components (<h:message /> and <h:messages />), however they are limited to render the text using a given cascading style sheet class for each level of severity. This [...]
Getting to know Solaris
February 6, 2008
The past ten years I’ve been working comfortably with various distributions of Linux (Ubuntu, Kubuntu, Gentoo, Mandrake, RedHat, Debian, Suse) and I have really enjoyed what they have to offer. During the four years where I was self-employed all my machines were running one or the other distribution of Linux (My favourite to this day [...]
Custom code folding in NetBeans
February 6, 2008
When you got large source files it can sometimes be helpful to create foldings for certain sections of your code. NetBeans got a nifty functionality for this using non-intrusive XML code (similar to Visual Studio). To create a custom code folding section simply insert the following before the content to fold: //<editor-fold defaultstate="collapsed" desc="My custom [...]
Using the “License” functionality in NetBeans 6
February 4, 2008
NetBeans 6 comes with a brand new functionality for including project-based licenses in source files. This enables you to easily use different licenses in the headers depending on the project you are working on. Using the functionality is simple, here are the steps: Add your licenses to the NetBeans templates Update the project.properties to specify [...]
Considering Java certification
February 4, 2008
As one of my new year resolutions I promised myself that I’d get some sort of technical certification this year. Basically what I’m interested in is the Java Programmer Certification, Web Component Developer Certification and Enterprise Architect Certification. For the three certifications I’ve found the following prep literature: SCJP Sun Certified Programmer for Java 5 [...]
Concatenating strings in JSF
February 4, 2008
To start the day off I though I’d share a quick tip using JSF. Say you have a list of messages: quicktip.Messages: ITEM_1=First item ITEM_2=Second item ITEM_3=Third item Now, on your JSF page you would like to show one of these messages depending on the ID of the item to display. For example, you might [...]
He’s back!
February 4, 2008
Hello people! I’m back after a long hiatus! This time I intend to keep up the blogging and keep it at the same domain. Watch this space!
Posted in
