Dojo 1.6 Released – Spider Charts, Gantt Charts & Interactive Legends. Too Late For 8.5.3?
Thanks to a tweet from Per Henrik Lausten I was alerted to the release of Dojo 1.6. There are quite a few big changes most notably use of “dojo-data-type” for widgets. This is a huge change but one which has been made to fit in with HTML5 standards. I haven’t followed the discussions in depth but as I understand it (I haven’t tested, so I may be wrong) dojoType is still supported. With the changes to XPages in 8.5.2 on the whole this layer is abstracted because the XSP Command Manager handles rendering of HTML. There are some Dojo controls, like the dojox.image.lightbox, where you have to use HTML – because the Image control doesn’t support Dojo attributes. Equally there may be some places where dojoTypes have been added to HTML directly rather than XPages controls, either because it pre-dates 8.5.2 or from a preference. So work may probably be required at some point in the future, mitigated by the Search function in DDE.
Charting has also been extended. I was aware from some research following Lotusphere that work was being done on Legends. We now have interactive legends which can be used to enhance your charts. There are some extensions to axes as well. And there are two new charts – Spider charts and Gantt charts. When I get a chance I fully intend to have a look at exactly what’s changed. I think I have an hour or two maybe late in April!
But with all these changes, has Dojo 1.6 come too late for inclusion into Domino 8.5.3? We will have to wait and see, but it may be. Hopefully it will not, because although you can modify the xsp.properties file to change the Dojo version at server-level, from my experiments leading up to Lotusphere, modifying the xsp.properties file at nsf-level has no impact on the version of Dojo used by that nsf. It appears that the XSP Command Manager loads Dojo because it is required for the loads of basic XPages functionality: partial refreshes, sections, dirty listeners, client-side validation. That means if you specify a different Dojo version in the nsf’s xsp.properties or in the xp:head tag, it has no effect. You can incorporate all the Dojo files into a separate nsf and reference that explicitly, but performance will be impacted. So it would be nice if Dojo 1.6 can be incorporated in 8.5.3, but it may be too significant a change to fit in to the timescales.
Oh, and Internet Explorer 9 has also been released. So why are companies still on IE6?