YUI Calendar navigator

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

YUI Calendar navigator

bsteuhl
I updated the javascript in xforms.js to display a yui calendar group (2 calendars) and also have the ability to navigate to different years and months with the navigator control; however, when you select the year drop down or position the cursor in the year input box, the cursor immediately goes back to the calendar input control.  You have to insert cursor and immediately do something, i.e. hit backspace to remove the 9 in 2009 and then insert cursor again and immediately type 6 to change the year to 2006.  Why is the cursor bouncing and how can this be fixed.  Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: YUI Calendar navigator

Alessandro Vernet
Administrator
brian18425 wrote
I updated the javascript in xforms.js to display a yui calendar group (2 calendars) and also have the ability to navigate to different years and months with the navigator control; however, when you select the year drop down or position the cursor in the year input box, the cursor immediately goes back to the calendar input control.  You have to insert cursor and immediately do something, i.e. hit backspace to remove the 9 in 2009 and then insert cursor again and immediately type 6 to change the year to 2006.  Why is the cursor bouncing and how can this be fixed.  Thank you.
The "YUI calendar group" is now supported out of the box. You can enabled it by setting the oxf.xforms.datepicker.navigator property to true. For more on this, see:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Date-picker-navigator

Alex