T5: Why does the default string translator translate the empty string to null?

2007-10-17 Thread Ted Steen
In most cases I want my empty text areas and text fields to translate to an empty string. especially when my model is a hibernate entity with not null constraints. Now I have to contribute my own translator and also add translator=myTranslator on every field... So, what is so good about

Re: T5: Why does the default string translator translate the empty string to null?

2007-10-17 Thread Yunhua Sang
Your way may reduce the portability of your application. In Oracle, there is no difference between empty text and NULL, empty text is NULL. Yunhua On 10/17/07, Ted Steen [EMAIL PROTECTED] wrote: In most cases I want my empty text areas and text fields to translate to an empty string.