myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Bayer (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Reopened] (TOMAHAWK-1574) t:inputCalendar is not triggering f:ajax
Date Fri, 29 Apr 2011 15:26:03 GMT

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

Oliver Bayer reopened TOMAHAWK-1574:
------------------------------------


Hi Leonardo,

first of all thanks for your commits. But while solving TOMAHAWK-1577 I think you've introduced
two new bugs for this issue.

1) If you select a date in the popup the selection isn't shown in the inputText
HtmlCalendarRenderer (Line 385): the postfix "_input" (TOMAHAWK-1577) is missing, it should
be:
.....document.getElementById('"+clientId+"_input"')...

2) the setter of the inputText isn't called via ajax

Oli

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

Mime
View raw message