[ http://issues.apache.org/jira/browse/MYFACES-415?page=all ]
Mike Kienenberger updated MYFACES-415:
--------------------------------------
Attachment: HtmlCalendarRenderer.patch.txt
Fix to set inputText's converter to null.
> 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
> 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