As I blogged when 8.5.3 went live, Dojo is now packaged as 1.5.1 as physical files on the server for iNotes and 1.6.1 in a plugin. So how do you inspect what's provided in the plugin? That was the focus on one of the comments on the post I made. Well, Nathan Freeman and Serdar Basegmaz contributed a project to OpenNTF to allow you to run it in debug mode - Dojo Debug kit for Domino 8.5.3. You can use that plugin, import the source code into Eclipse or Domino for example. But you can also import the jar from ...
Fredrik Norling blogged yesterday about using Regular Expressions to validate in XPages (but also traditional Domino web development). There is one option for validating using regular expressions that Fredrik didn't mention, and it's well worth covering. Because although you can find a lot of regular expressions on the web, writing your own or modifying regular expressions can be challenging. And testing the regular expressions can be a slow and boring process. Wouldn't it be great if you had a wizard to build them in Domino Designer? Wouldn't it be great if you could test them from within Domino Designer? Well, ...
Today I took part in the Ask The Xperts webinar by GBS and TLCC. One of the questions was about problems with the XPages date picker in Internet Explorer 8. When not in compatibility mode, the page refreshes as soon as the user clicks on the date picker. There may be times when you want to avoid compatibility mode, for example, when using the CSS float property. My preferred option to get around this is to use the Dojo date picker. However, if the Dojo module is applied to the inputText tag itself, the date is handled as a JavaScript date ...
I've been rather busy today so I'm yet to upgrade to Domino 8.5.3 but there are a host of goodies in the new release, not least for XPages developers. While preparing for my session at Lotusphere last year one of the areas I looked at was managing the Dojo version used by XPages. With research I identified that it was possible to change the server version by modifying xsp.client.script.dojo.version in the xsp.properties file on the server, as covered in an article on the Application Development wiki. Anyone whose looked at the files in the Package Explorer will know ...
Two and a half years ago when I started working with XPages, there was a relative paucity of support materials. Declan Lynch's 50-odd introduction was a god-send as were blog posts from John Mackey and Matt White. The Dojo documentation was okay, but the implementation of Dojo 1.1.1 was very limiting. There had been sessions at Lotusphere 2009, but I was not able to go there, so that was not a reference site. But now, two and a half years on, we have a host of blog and wiki posts. There is the Mastering XPages book and if you've searched Amazon ...
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 ...
During February Bob Balfe has been blogging 28 days of Dojo. To tie in with that I've decided now is a good time to blog about a couple of charting enhancements I included in my Lotusphere session with Dave Leedy, XPages: Enter The Dojo. The first is new functionality available with Dojo 1.5.0 to add gradients to your charts. First of all, Dojo 1.5.0 is not installed by default with Domino 8.5.2, so it will require an install on the server and (if you're using your charts for XPages in Notes Client) also on the clients. The ...
Those of you who have already joined the BP210 community on lsonline will have seen that yesterday I uploaded the slide deck and sample application David Leedy and I used for our session at Lotusphere last week. The slides are also available on slideshare. For those of you who were at Lotusphere and haven't yet joined the community, you just need to join the Best Practices community and BP210 is a sub-community. Also in there are some of the useful links from the session. because lsonline is continuing throughout the year, it would be good to make use of ...
A couple of months ago I asked whether people would be interested in custom controls for Dojo charting. I got lots of positive responses and people interested in helping out. However, then ILUG intervened and shortly afterwards one of my sessions for Lotusphere was accepted. On top of that I struggled to get my head around a flexible model for passing various data sources for the various types of chart (pie chart for example can take more than just an array of data elements, as I showed in my tutorials). So, mea culpa, it slipped from the top ...
Debut Speaking at Lotusphere 2011
After speaking at three LUGs around Europe this year, I will be making my debut at Lotusphere 2011. Although I submitted a few sessions, the one that was accepted is a joint session with Mr NotesIn9, David Leedy. It's not the first time we will collaborate together. Those who have been working with XPages for a while (and possibly some more recent XPages developers) may remember we were both guests on The X Cast for Episode 2 back in February. And I'm sure Lotusphere won't be the last time we collaborate - I've already promised a screencast for NotesIn9 which ...
Would XPages Dojox Charting Custom Controls Be A Welcome Addition?
It's been a while since I added anything to my Dojox Charting tutorial, although recently I've been looking (albeit very briefly) at the functionality available for 3D charts. With the release of the XPages Extension Library earlier this year, with which there were a number of Dojo widgets packaged, I was interested and a little nervous to find out whether charting was on the roadmap. After a recent enquiry, I received with mixed feelings the news that there is no immediate plan to package the dojox charts in a future release of the XPages Extension Library. The mixed feelings were ...
XPages 8.5.2 & Rich Text: Extending the CKEditor
Those who have followed my blog will be aware that I posted an article earlier this year about extending the Rich Text Editor. That showed that the Rich Text Editor used an extension of a dojo class, ibm.domino.widget.layout.DominoRichText, and could be extended by defining various dojoAttributes, for example fontName as Arial, extraPlugins as ["createLink","|"] to add a button to create a link and a separator. With 8.5.2, IBM introduced the CKEditor as the default Rich Text Editor instead of the ibm.domino.widget.layout.DominoRichText extension of Dojo. And, as I learned, that too can be extended, from the ...
Extending the Rich Text Editor in XPages
Some time ago Steve Leland added a great article to the Domino Application Development wiki for extending the rich text editor in XPages. On a similar topic, some time ago I posted an idea on IdeaJam for using the Editor2 dojo widget that ships with the Domino Blog template for XPages. For those who haven't compared the blog template with the XPages rich text editor, the main frustration here is that the rich text editor which ships with XPages does not allow you to add links or images, as you can with the editor for the ...
Dojox Charting Tutorial – Part Six: Appendices
As I said in Part One, this series came about through an awareness of dojox charting and a desire to investigate its suitability to replace our current third-party solution. At the time I was not aware of NotesReconn on OpenNTF, which recently won second place in the TeamStudio Spotlight awards, and that's definitely on my radar now as a product to investigate further. In this series I've references a number of useful references, but I've also come across more while writing up the series. So I wanted to put together a one-stop shop of useful resources on dojox charting. Obviously the first point ...
Dojox Charting Tutorial – Part Five: Line Chart HTML Markup
In the previous parts of this tutorial (accessible from the link on the left-hand side of this page) I have shown how to use the dojox charting code to create pie charts, bar charts, column charts, and a line chart via javascript. In this part, I will create a line chart similar to the one created in the previous part, but this time using an HTML table data store and markup HTML. This took a bit of trial and error because, although there are plenty of examples on the web of charts created with javascript, the examples of charts created using HTML ...






