Adding a dojo calendar control to traditional Notes date fields

When web enabling old Domino forms date fields has never been fun. users setting the wrong format, and the save breaks the form giving a error 500. There has been alot of dhtml calendar pickers that has been used some better and some worse of handling other browses than IE. We all have these applications that is very large and that you don’t can convert directly to XPages, then adding dojo to your old forms can help you.

What do you need to do to get a dojo calendar control to work with a old date field in a form, not much actually. Dojo is really good of helping you to do this move.

First you have to decide if you want to host the dojo toolkit locally or thru i.e Google CDN.

It’s just the url:s in my example that you need to change if you want to host the dojo files in the html directory on your Domino server.

Yes, Dojo is a part of the Domino server. You could probably use Dojo the interal Dojo. As of 8.5.3 Dojo is an a plugin so I’m not sure that the url is valid in all cases. But you could probably use
/xsp/.ibmxspres/dojoroot-1.6.1/dojo/dojo.js
instead ofhttp://ajax.googleapis.com/ajax/libs/dojo/1.8.1/dojo/dojo.js

So there is not really any difference between using jQuery or using Dojo in a Domino-based web application, both are called from a CDN…

Joacim Boive said “I cringe every time I see someone importing yet another framework when there’s already one available”, but in reality you need to import Dojo froma DCN as well, so really not any different.
Except that you can find much more help/info on jQuery on say StackOverflow…