You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Daniel Murley <dm...@neuragenix.com> on 2005/07/18 12:47:23 UTC

Problem mixing x:calendar and x:inputDate

Howdy,

Not sure if this has been reported before, or maybe its just something I'm
doing, however I have a form with one inputDate, and two calendar
components.  If you pick dates from the calendar components (using the
js:picker), they update appropriately.  If you then update the inputDate
using the picker, it also updates appropriately.  However attempting to
update the x:calendar again results in in the js:picker actually just
updating the inputDate instead of the calendar.

So :

1 - Update Calendar with picker = Updates correctly
2 - Update Calendar 2 with picker = Updates correctly
3 - Update InputDate with picker = Updates correctly
4 - Update Calendar with picker = Updates InputDate instead of Calendar.

As such this also occurs :

1 - Update InputDate with picker = Updates correctly
2 - Update Calendar with picker = Updates InputDate

Thoughts?  Ideas?

Thanks,

Daniel