You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Roland Huss (JIRA)" <de...@myfaces.apache.org> on 2005/11/26 14:30:56 UTC

[jira] Created: (MYFACES-878) HtmlCalendarRenderer doesn't respect enclosed converted when encoding

HtmlCalendarRenderer doesn't respect enclosed converted when encoding
---------------------------------------------------------------------

         Key: MYFACES-878
         URL: http://issues.apache.org/jira/browse/MYFACES-878
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: Nightly    
 Environment: Linux
Jboss/Weblogic
    Reporter: Roland Huss
 Attachments: calendar.diff

During decoding, <t:inputCalendar> will use an enclosed <f:convertDateTime> for parsing a Date in favor
of an 'popupDateFormat' Attibute.

However when it comes to encoding, it will only use the value of the attribute 'popupDateFormat', and, if not present,
uses a default value. It never looks at any enclosed formatter.

Please find attachted a patch for HtmlCalendarRenderer which solves this problem.


-- 
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


[jira] Closed: (MYFACES-878) HtmlCalendarRenderer doesn't respect enclosed converted when encoding

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-878?page=all ]
     
Martin Marinschek closed MYFACES-878:
-------------------------------------

    Fix Version: Nightly
     Resolution: Fixed
      Assign To: Martin Marinschek

Thanks for this fix, Roland!

> HtmlCalendarRenderer doesn't respect enclosed converted when encoding
> ---------------------------------------------------------------------
>
>          Key: MYFACES-878
>          URL: http://issues.apache.org/jira/browse/MYFACES-878
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>  Environment: Linux
> Jboss/Weblogic
>     Reporter: Roland Huss
>     Assignee: Martin Marinschek
>      Fix For: Nightly
>  Attachments: calendar.diff
>
> During decoding, <t:inputCalendar> will use an enclosed <f:convertDateTime> for parsing a Date in favor
> of an 'popupDateFormat' Attibute.
> However when it comes to encoding, it will only use the value of the attribute 'popupDateFormat', and, if not present,
> uses a default value. It never looks at any enclosed formatter.
> Please find attachted a patch for HtmlCalendarRenderer which solves this problem.

-- 
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


[jira] Updated: (MYFACES-878) HtmlCalendarRenderer doesn't respect enclosed converted when encoding

Posted by "Roland Huss (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-878?page=all ]

Roland Huss updated MYFACES-878:
--------------------------------

    Attachment: calendar.diff

Patch for looking at a child converter when rendering the popup calendar.

> HtmlCalendarRenderer doesn't respect enclosed converted when encoding
> ---------------------------------------------------------------------
>
>          Key: MYFACES-878
>          URL: http://issues.apache.org/jira/browse/MYFACES-878
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>  Environment: Linux
> Jboss/Weblogic
>     Reporter: Roland Huss
>  Attachments: calendar.diff
>
> During decoding, <t:inputCalendar> will use an enclosed <f:convertDateTime> for parsing a Date in favor
> of an 'popupDateFormat' Attibute.
> However when it comes to encoding, it will only use the value of the attribute 'popupDateFormat', and, if not present,
> uses a default value. It never looks at any enclosed formatter.
> Please find attachted a patch for HtmlCalendarRenderer which solves this problem.

-- 
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