[seam-commits] Seam SVN: r13795 - branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Oct 5 09:25:56 EDT 2010
Author: manaRH
Date: 2010-10-05 09:25:56 -0400 (Tue, 05 Oct 2010)
New Revision: 13795
Modified:
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/EntityConverter.java
Log:
JBSEAM-4713 added check for empty string
Modified: branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/EntityConverter.java
===================================================================
--- branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/EntityConverter.java 2010-10-05 11:23:37 UTC (rev 13794)
+++ branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/EntityConverter.java 2010-10-05 13:25:56 UTC (rev 13795)
@@ -69,7 +69,7 @@
@Transactional
public Object getAsObject(FacesContext facesContext, UIComponent cmp, String value) throws ConverterException
{
- if (value == null)
+ if (value == null || value.length() == 0)
{
return null;
}
More information about the seam-commits
mailing list