ticket:6 Fix datapicker initialization from widget
Merge branch 't6_fix_bug2'