Hi,
In HEAD, this is in AbstractTextComponent:
AbstractTextComponent(final String id, final IModel model) { super(id, model); setConvertEmptyInputStringToNull(true); }
Great (again) !
Text components used to not convert empty strings to null, but I/ we think that is not a good default, as it is generally not what you want in database applications.
Yes. We have been traditionally using very much Oracle, which thinks that empty string is same as NULL in database. Using null works also for all databases we have (mssql, postgresql), using "" would result in different data in different products (NULL database values are sometimes problematic in SQL queries).
So, to answer your question... use HEAD and your problems are gone ;)
I will, no problem.
Ari S.
------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
