myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Sabell (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-567) Selected date is lost after subsequent postbacks when using renderAsPopup=false
Date Wed, 26 Jul 2006 01:12:14 GMT
Selected date is lost after subsequent postbacks when using renderAsPopup=false
-------------------------------------------------------------------------------

                 Key: TOMAHAWK-567
                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-567
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Calendar
    Affects Versions: 1.1.1
         Environment: MyFaces 1.1.1, IBM WebSphere 5.1, Windows Server 2003
            Reporter: Brett Sabell


When renderAsPopup is set to false (ie. the calendar is rendered using dynamic HtmlCommandLink
components), the selected date is lost after subsequent postbacks. This problem is caused
by the clear_<formName>() JavaScript function being called when a command link or button
is activated, causing the hidden form input to be blanked and thus the HtmlInputCalendar's
converter to return null.

I have managed to fix this problem by changing how the non-popup HtmlInputCalendar is rendered.
Should I create another Issue with my solution?

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