Author Archive

13
Feb

Quick Setup / Restore of Domino Designer

David Leedy recently posted a video on Domino Designer Tips and Tweaks, which is great. But sooner or later, you'll move to a new PC or (god forbid!) have a serious problem with Domino Designer / Notes and really want to reinstall, to clean everything up.   Then you've got to remember what settings you changed and where to find them.   Except you don't. Because Domino Designer is on Eclipse. Out of the box, Eclipse gives you the functionality to export your preferences, as Dan O'Connor mentioned in a comment on one of my previous blog posts. But like the Package ...

11
Feb

Combining $ and #: An Alternative Approach

Over the last couple of days there have been a few discussions about combining Compute on Page Load and Compute Dynamically. The full trails are below: Sven Hasselbach's initial post My explanation of what's happening in the source code and Java Sven Hasselbach's response A possible alternative from Mark Roden Both make good points and I have to say I'm glad I don't have to make a decision on what changes, if any, should be made to Domino Designer as ...

09
Feb

XPages Bindings: When # Runs at Page Load

As developers get more comfortable with XPages, one of the steps is to start to using the Compute on Page Load option instead of the Compute Dynamically option for Server-Side JavaScript. But there are times when that can't be done. I encountered this last week and it took a chat with Jeremy Hodge for me to understand my problem. One of my colleagues had the same problem yesterday. And Sven Hasselbach has blogged about the same issue today. Unfortunately, it's not a bug. It's a fact of life and one also found in JSF.   Sven encountered the ...

01
Feb

NotesViewEntryCollections

One of the benefits of XPages is the power of repeat controls to effectively perform 'joins', whether that is with nested repeat controls or merging data prior to displaying in a repeat control. When it comes to collections of documents I tend to favour NotesViewEntryCollections. This is both for performance (predominantly using getColumnValues().get) as well as sort order (NotesDocumentCollections are sorted on document creation order). Recently I had the need to extend an existing repeat control to use entries already available in another view. My approach was to use the NotesViewEntryCollection created using getAllEntriesByKey() and then add entries from the second ...

27
Jan

Whither the Notes Client?

This morning I came across a tweet from Ed Brill about Symphony / Open Office with a link to this article about Apache OpenOffice IBM Edition. The article is positive reinforcing that although Symphony 3.0.1 is likely to be the last release, IBM's commitment to OpenOffice continues (as those of us in the yellow bubble have known for a while) both by feeding Symphony code back into the OpenOffice project and in the release of IBM Docs, announced last week at Lotusphere. But one point stood out for me in the article. Apache OpenOffice and the IBM Edition will not ...

21
Jan

Lotusphere in Review

Lotusphere is over for another year (and the perennial debate about the name also seems to have been put to bed - announcements have always said "Lotusphere 2013"). From the Domino standpoint it's been another step on the road to the Vulcan vision and a reaffirmation of a new deployment model. We've seen in the last couple of months the approach of 8.5.3 base install extended with additional functionality (in this case primarily the Extension Library) by installing Upgrade Pack 1. The Extension Library has been demoed in a number of sessions, not only the base functionality that made it into ...

18
Jan

Lotusphere Day 2 Review

The second day of Lotusphere began with OpenSocial integration to generate embedded experiences. With Lotus Domino 8.5.4 Social Edition, embedded experiences are going to be a significant addition to the Domino developer's toolkit through the second half of 2012. With OpenSocial and embedded experiences developers can add functionality into the mails they send. Whereas in the past an email from an application has had some text and a link to perform an action, embedded experiences allow developers to offer users the ability to perform those actions in context without leaving their inbox. That is, if the inbox is social-enabled, as ...

17
Jan

Lotusphere Day 1 Review

The dust has settled on the first day of Lotusphere, so time for a quick review. The OGS was spectacular and a huge improvement on last year. Even before the OGS started, as IBM Champions we had a dedicated area at the front right of the stage. Thanks to Joyce and everyone at IBM for that. Amongst the people milling around in that area before the presentations where Sandy Carter (@sandy_carter) and Brian Cheng (@quasifu). It was great to have a brief chat with Sandy, her book 'Get Bold' hit big chords, as I've already blogged. Next up were Ok Go, ...

15
Jan

My Plans for Lotusphere – What I think Will Be Hot

So I'm at Lotusphere now, my plans for this year are learning and being social. So what do I think will be important for XPages developers over the next year? The first is Java. Server-Side JavaScript is powerful, but Java is something I've embraced over the last nine months because it offered me more. That's why I developed the XPages Help Application, to really cut my teeth with Java. With the new design element in 8.5.3 I think Java code in XPages applications is going to be more prevalent (that is, code actually written in Java by developers, compared to ...

09
Jan

XPages Source Panel: Navigate to Next Sibling

As a student of Classics and university and an IT professional, one of the key phrases in my life is a saying of the ancient Athenian lawgiver: "As I grow old, I always learn more." One of the beauties of XPages is you can always learn more. Sometimes it's through the pain of incompatibilities of different pieces of technology; sometimes it's deliberately, whether at leisure to advance one's personal skill-set or out of necessity for a current project; and sometimes it's completely by accident. This is one of those purely accidental pieces of learning. Doubtless it is standard Eclipse functionality, like ...

04
Jan

Have a BOF Idea? It’s Not Too Late

Just before Christmas two new communities launched on Lotus Greenhouse for Lotusphere and Connect The communities have a wealth of useful bookmarks, wiki articles and other content. IBMers and Champions have been adding content over the last few weeks and will continue to build in that in the lead up to Lotusphere and during the conference. The communities are intended as an ongoing resource for attendees to use to get the most out of the conference. (If you have any further questions, there's also a forum in the communities.) There is also an Ideation Blog in the Lotusphere community. ...

15
Dec

XPages Date Picker: My Preference

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 ...

14
Dec

Upgrade Pack 1 Has Arrived

In a busy week for IBM, Notes/Domino Upgrade Pack 1 has shipped today, as announced by Ed Brill. The upgrade pack is important for a number of reasons: For customers requiring officially IBM-supported code (an argument I struggle to understand in application development, but that's beyond the scope of this blog), this provides a supported release of the Extension Library It ushers in a new way of delivering additional functionality outside the point release cycle It provides updated XPages templates providing mobile UIs for TeamRoom and Discussion Database, which provide useful examples for developers looking to build mobile interfaces using the Extension ...

07
Dec

Earlier today myself, David Leedy, John Jardin and Jeremly Hodge were discussing Java integration with XPages. Particularly with the introduction of the new Java design element, developers are starting to try Java. For those - myself included - who have come from a traditional Domino development background some aspects come more naturally than others. The Domino object model is very familiar, particularly after Server-Side JavaScript. And Tim Tripcony's class in dPloy on OpenNTF makes it easy to get a handle on parts of the XPages runtime. Arrays are familiar to Domino developers; Tree Maps are roughly analagous to Lists; and ...

30
Nov

How to Add In-Built Java Packages

Peter Leugner reminded me of the best method for including Java Packages that come with the Notes install and, for those who have never done it before, here is a pictorial description. From the Package Explorer you have access to the plugin.xml. As well as an XML editor this also has GUI tabs, one of which is Dependencies. Just click on the Add button and you get a dialog of all libraries available. Note the library has a version number against it - we'll come back to that.   Now go to ...