masked date picker possible?

I’m developing my first Yii application.  I can succesfuly run the CMaskedTextField widget to mask a date entry field, also I can succesfuly run the jui datepicker widget on another date entry field.  At the end I want to run those 2 widgets on the same field so the user can type the date with the given mask or pick the date from the jui datepicker.  is this possible?  how can I accomplish this?

Not sure if they can be combined. This is mainly about js manipulation.

Thank you.

Guess I'll try to extend de jui datepicker widget and combine it with the CMaskedTextField widget code and see if I can make them work together