From the monthly archives:

May 2009

Trinidad and text wrapping

May 29, 2009

While using Trinidad 1.0.1 I came across a problem where text did not wrap when displaying read only text fields. This meant that everything was pushed off the right hand side of the page.
I had to change the fields from:

<tr:inputText label="#{msgs['message1']}" styleClass="labelRight"
[...]

Read the full article →

Virtual machines with VirtualBox

May 17, 2009

I’ve found VirtualBox to be very easy to create virtual machines - it’s free, open source, and available on Windows, Linux, Macintosh and OpenSolaris. One of the features I particularly like is being able to create a virtual disk that grows as needed (dynamically expanding image). You can also mount an iso image for the [...]

Read the full article →

Finding constraints in Oracle

May 13, 2009

It can be quite frustrating when you get exceptions like those below - constraint violations where the constraint has a system generated name which means nothing to you:

2009-03-23 23:30:43 ERROR [AbstractFlushingEventListener.performExecutions] Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

Caused by: java.sql.BatchUpdateException: ORA-00001: unique constraint (SAMPLE.SYS_C00123456) violated

The easiest way to find [...]

Read the full article →

Dictating the IDE

May 9, 2009

Having trouble viewing this form? Go to http://formbinder.com/forms/27/Dictating-the-IDE
[field name=formbinder]

Read the full article →

Just for a bit of fun… whohasmorefollowers.com

May 4, 2009

Recently I jumped on the Twitter bandwagon and created whohasmorefollowers.com - a simple service that lets you compare the number of followers for 2 Twitter users.
This weekend I added a game feature to it - the player is presented with 2 random twitter users (from the top 50) and is challenged to guess which user [...]

Read the full article →