Is there a way I can have a Today link or button displayed in the calendar popup ,
so the users have a quick access to today's date?
I know it's highlighted by default, but users are asking as it is available in other apps we have (not Dojo).
I am using Dojo on a Domino server with XPages.
Thanks
YOu have two method , overide the widget and manage to add Button in custom template , or just add it programticly one it open as below :
If you read the source , you'll notice that every time you click on
datetextbox, the methodopenDropDownis called in which the last popup is destroyed an recreated a gain with constraints , so you can use the function in oreder to bind button to popup widget with onclick impl ,( adding some css to center the button )
You can try the below Snippet :