[ http://issues.apache.org/jira/browse/MYFACES-1156?page=all ]
Mike Kienenberger resolved MYFACES-1156:
----------------------------------------
Resolution: Won't Fix
Unfortunately, this can't change until the JSF spec changes since the spec
disallows custom String converters.
You can add your own comments on this matter to the following JSF issue.
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=131
> Model update uses empty string instead of null. Custom String converter not
> possible.
> -------------------------------------------------------------------------------------
>
> Key: MYFACES-1156
> URL: http://issues.apache.org/jira/browse/MYFACES-1156
> Project: MyFaces Core
> Type: Improvement
> Versions: 1.1.2-SNAPSHOT
> Environment: Windows XP SP2, Tomcat 5.5, Myfaces 1.1.2-SNAPSHOT, Hibernate
> 3.1.2, Facelets 0.8
> Reporter: Veit Guna
>
> I've encountered a problem using String values with myfaces. The default
> behavior of myfaces (probably jsf?) seems to be, that Input values of type
> String
> get converted to an empty String (""). Instead I would like to have a null
> value updated in my model. This is because I don't want to have
> empty Strings in my DB - but nulls.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira