You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/05/02 15:22:03 UTC

[jira] [Resolved] (TOMAHAWK-1574) t:inputCalendar is not triggering f:ajax

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved TOMAHAWK-1574.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.11-SNAPSHOT
         Assignee: Leonardo Uribe

> t:inputCalendar is not triggering f:ajax
> ----------------------------------------
>
>                 Key: TOMAHAWK-1574
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1574
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: AJAX Form Components, Calendar
>    Affects Versions: 1.1.11-SNAPSHOT
>         Environment: Win XP, JDK 1.6.0.20, Tomcat 6.0.29, MyFaces 2.0.5 - Snapshots (api + impl at revision 1085804), Tomahawk20-1.1.11 Snapshot (at revision 1084269)
>            Reporter: Oliver Bayer
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.11-SNAPSHOT
>
>
> I've had this problem some time ago (see TOMAHAWK-1515) but after the bugfixes it worked. After the upgrade to the current snapshots (see environment description) it's not working anymore (therefore I've created this new ticket).
> Testcase:
> User fills in birthday, the ajax event valueChange gets triggered and returns the calulated age.
> Test scenarios:
> 1) using two h:inputText for inputting the birthday and outputting the age ---> works
> 2) using two t:inputText for inputting the birthday and outputting the age  ---> works too
> 3) using t:inputCalendar and t:inputText ---> doesn't work
> If I'm debugging the setBirthday method the jvm stopps at the breakpoint in case of scenario 1) and 2) but the setter isn't called in case 3) at all.
> Looking at the HTTP post data send in case 3):
> -> the birthday field contains the date selected by the t:inputCalender popup
> -> event: valueChange
> -> partial ajax: true
> -> id of the triggering element: seems correct
> -> id of the element to render: seems correct
> HTH Oli

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira