You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Wells Tiedeman (JIRA)" <de...@myfaces.apache.org> on 2007/04/03 03:12:32 UTC
[jira] Commented: (MYFACES-1156) Model update uses empty string
instead of null. Custom String converter not possible.
[ https://issues.apache.org/jira/browse/MYFACES-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486192 ]
Wells Tiedeman commented on MYFACES-1156:
-----------------------------------------
This issue has been addressed in the JSF RI:
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=131
Can you fix it for MyFaces?
> Model update uses empty string instead of null. Custom String converter not possible.
> -------------------------------------------------------------------------------------
>
> Key: MYFACES-1156
> URL: https://issues.apache.org/jira/browse/MYFACES-1156
> Project: MyFaces Core
> Issue Type: Improvement
> Affects 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.
-
You can reply to this email to add a comment to the issue online.