You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Daniel del Río (JIRA)" <ji...@apache.org> on 2006/06/30 19:57:16 UTC

[jira] Created: (SHALE-206) convertDateTime component throws exception when using the timeZone attribute

convertDateTime component throws exception when using the timeZone attribute
----------------------------------------------------------------------------

         Key: SHALE-206
         URL: http://issues.apache.org/struts/browse/SHALE-206
     Project: Shale
        Type: Bug

  Components: Core  
    Versions: Nightly    
 Environment: xp, jdk 1.5, bea weblogic 9.1
    Reporter: Daniel del Río


There is not a JSF converter registered for the TimeZone class.  This causes an exception be thrown when usign the converDateTime component:

<converter jsfid="conver tDateTime">
<attributes>
     <set name="pattern" value="dd/MM/yy, HH:mm" />
     <set name="timeZone" value="GMT+01" />
</attributes>
</converter>

> javax.faces.convert.ConverterException: You have requested a conversion for 
> type java.util.TimeZone, but there is no by-type converter registered for 
> this type 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SHALE-206) convertDateTime component throws exception when using the timeZone attribute

Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-206?page=all ]
     
Gary VanMatre resolved SHALE-206:
---------------------------------

    Fix Version: 1.0.3
     Resolution: Fixed
      Assign To: Gary VanMatre

We were missing a TimeZone converter resulting in an exception when using the convertDateTime converter's timeZone property.  The Clay component uses the core shale ConverterHelper to convert string metadata values into the target object property types.  This utility is a JSF flavor of the commons bean utils converter.

Fix in the 20060701 nightly build.

> convertDateTime component throws exception when using the timeZone attribute
> ----------------------------------------------------------------------------
>
>          Key: SHALE-206
>          URL: http://issues.apache.org/struts/browse/SHALE-206
>      Project: Shale
>         Type: Bug

>   Components: Core
>     Versions: Nightly
>  Environment: xp, jdk 1.5, bea weblogic 9.1
>     Reporter: Daniel del Río
>     Assignee: Gary VanMatre
>      Fix For: 1.0.3

>
> There is not a JSF converter registered for the TimeZone class.  This causes an exception be thrown when usign the converDateTime component:
> <converter jsfid="conver tDateTime">
> <attributes>
>      <set name="pattern" value="dd/MM/yy, HH:mm" />
>      <set name="timeZone" value="GMT+01" />
> </attributes>
> </converter>
> > javax.faces.convert.ConverterException: You have requested a conversion for 
> > type java.util.TimeZone, but there is no by-type converter registered for 
> > this type 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira