You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <my...@incubator.apache.org> on 2005/08/19 04:32:01 UTC

[jira] Closed: (MYFACES-415) inputCalendar with converter loses value data during rendering when renderAsPopup=true

     [ http://issues.apache.org/jira/browse/MYFACES-415?page=all ]
     
Martin Marinschek closed MYFACES-415:
-------------------------------------

    Assign To: Sylvain Vieujot

> inputCalendar with converter loses value data during rendering when renderAsPopup=true
> --------------------------------------------------------------------------------------
>
>          Key: MYFACES-415
>          URL: http://issues.apache.org/jira/browse/MYFACES-415
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly Build
>     Reporter: Mike Kienenberger
>     Assignee: Sylvain Vieujot
>      Fix For: Nightly Build
>  Attachments: HtmlCalendarRenderer.patch.txt
>
> t:inputCalendar's implicit and transient inputText gets assigned the
> same converter as inputCalendar when isRenderAsPopup=true.
> This doesn't work well since the inputCalendar converter is expected
> to work on Date objects, and the inputText has a string representation
> of the date.
> The conversion fails in RendererUtils.getStringValue(facesContext,
> component) at converter.getAsString(facesContext, component, value),
> and the value in the inputCalender gets lost on rendering.
> The value assigned to the inputText is already converted using the inputCalendar's converter during encode, and the component doesn't exist during decode, so the converter needs to be nullified for inputText.

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