You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/11/13 22:03:11 UTC

svn commit: r1034875 - /myfaces/commons/branches/jsf_20/myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/DateTimeConverter.java

Author: lu4242
Date: Sat Nov 13 21:03:11 2010
New Revision: 1034875

URL: http://svn.apache.org/viewvc?rev=1034875&view=rev
Log:
fix tld deferredValueType

Modified:
    myfaces/commons/branches/jsf_20/myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/DateTimeConverter.java

Modified: myfaces/commons/branches/jsf_20/myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/DateTimeConverter.java
URL: http://svn.apache.org/viewvc/myfaces/commons/branches/jsf_20/myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/DateTimeConverter.java?rev=1034875&r1=1034874&r2=1034875&view=diff
==============================================================================
--- myfaces/commons/branches/jsf_20/myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/DateTimeConverter.java (original)
+++ myfaces/commons/branches/jsf_20/myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/DateTimeConverter.java Sat Nov 13 21:03:11 2010
@@ -378,7 +378,7 @@ public class DateTimeConverter extends j
      * The name of the locale to be used, instead of the default.
      * 
      */
-    @JSFProperty(inheritedTag = false)
+    @JSFProperty(inheritedTag = false,deferredValueType="java.lang.Object")
     public Locale getLocale()
     {        
         if (_locale != null)
@@ -464,7 +464,7 @@ public class DateTimeConverter extends j
      * java.util.TimeZone.getTimeZone(String).
      * 
      */
-    @JSFProperty(inheritedTag = false)
+    @JSFProperty(inheritedTag = false,deferredValueType="java.lang.Object")
     public TimeZone getTimeZone()
     {
         //return _timeZone != null ? _timeZone : TIMEZONE_DEFAULT;