[
https://issues.apache.org/jira/browse/TOMAHAWK-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027852#comment-13027852
]
Oliver Bayer commented on TOMAHAWK-1574:
----------------------------------------
Hi Leonardo,
just FYI the forceId-attribute I've copy and paste from the examples without
knowing the internal details on how this would affect the ajax handling. With
an older snapshot -if I remember right 2.0.3- it has been working even with
this attribute.
But now with your latest calendar commits and without forceId it's working as
expected.
Thanks for the bugfixes :).
> 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