myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-415) inputCalendar with converter loses value data during rendering when renderAsPopup=true
Date Tue, 16 Aug 2005 19:03:54 GMT
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


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


Mime
View raw message