Bruce Elgort, Oct 18, 2010 2:17:15 PM
The very best of XPages news and articles for the week of October 11th - October 19th, 2010 from around the web:
This is one of those occasions when I had written an article and was just waiting to get round to publish it, and another developer posted an article that covers a similar topic. Just this morning, Tommy Valand posted an article with some SSJS for accessing messages from the facesContext.getMessages and using an iterator to loop through and get the content, which is what I worked out how to do last week. Although there is some duplication on this aspect, this article does then add a bit of a gotcha when trying to use the Display Errors control to decide whether other controls should be rendered or not. Of course using a Computed Field control will get around the problem I encountered.
The following is a simple POC that describes how file upload controls on XPages work when bounded to Rich text fields in Notes Forms.
There's a lot of great stuff in XPages, but there's also a few things I miss. One of those things is message-controls that you can connect to multiple fields. It's quite easy to emulate this using a little bit of SSJS, and a xp:text.
Back in February this year I posted a blog about an idea of providing some work I had done on a simple helpdesk / issue tracking database that may be useful for others to use, modify or indeed learn from. As a self employed business partner "consultant" (I hate that word!) time is tight so I never really had the chance to progress this until now.
I have a view on an xpage that I allow the user to filter using a radio button. Basically, the user clicks on a radio button, and the view refreshes after using the data from the requestScope to filter the view.
My intention for this site is to be the home of not just the
NotesIn9 shows about XPages topics, but that is will contain links to any other videos about XPages on the net. One of the problems with NotesIn9 in it's current form, is that older shows are still relevant, but might not be easy to find due to the date driven nature of a podcast...
A topic that periodically resurfaces surrounding XPage development is the notion of creating "classes" in JavaScript. There are several schools of thought - not just in our own community, but across the entire web development spectrum - regarding how best to handle inheritance in JavaScript, because the language itself is not classical... it is prototypal.
For my Bildr app, I would like to change the link to the comments form to an embedded form on a picture document. From a usability perspective it is nicer to be able to write down and post your comment straight from the picture doc.
One of my strengths is a good memory, which helps when other developers ask a question. It means I can often vaguely remember reading something somewhere or developing some code that has relevance in a database somewhere, and with a bit of hunting I can find something that points them in the right direction. The difficulty is it's often not an exact answer, just pointing them in the right direction.
Like Rome Bildr was not build in 1 day. I received quiet some good suggestions (thanks) BUT things go a bit slower than expected (read: playing with UI options take time). So I fear I have to calculate 1 or more days next week to finalize the work.
Lotus Notes/Domino 8.5.2 is out and the other day I was hosting an XPages training session so I thought a little bit about what's new with XPages. Of course XPage ninjas like Matt has already written about it (Matt White: What's new with XPages in 8.5.2) but as I was reading up I found some links I wanted to highlight. Most info may be found on the IBM wiki.
I've just uploaded a new release of xTalk to OpenNTF. This new version is a complete overhaul of the original version of xTalk and now uses the OpenNTF XPages Extension Library to create a much easier interface for the forum owner for creating and managing the system.
I've been trying to clean up a couple of things inside the NotesIn9 Studios. I'm still remastering old shows to make them iPad and iPhone4 compatible and looking for improvements to my backend workflow which is WAY more painful then it should be. Anyway, I while I was at it I thought I'd post an updated list of all the NotesIn9 shows that are related specifically to XPages.
Is anyone else having to code things differently in 8.5.2? Here are my experiences.
Quick warning, IE8 does not play nice with dojo charts and in some cases, axis labels are not displayed. I ran into this issue on the very cool new Homepage project on OpenNTF.
I've created a new project - called Home Page Template. The project contains a couple of common controls and refers to Extension Library controls that are often needed when building personal or topic oriented home pages.
In case you missed it, last week an interesting article was published on developerWorks called "IBM Lotus Domino 8.5.2 XPages discussion database server performance" by Christopher Johnson and Wu W Huang. This reports on the perfromance results from comparing a classic Notes Domino Discussion database and it's subsequent 85x upgrade to XPages on a R852 Domino server.
I would like to set a value for a checkbox group when clicking on a link. In the example below you see a table on the right. The icons in the header reflect values in check box groups on the left.
When the onStart/-Complete/-Error code for an event was served to the browser as a string, it wouldn't run. This bug has now been fixed.
Just found that standard date picker does not work properly in IE8 (it always refresh page when we click on date/time picker, here is link to live example) that's not funny :/ question why all another browsers work fine :)
Darin Egan has created another video describing the XPages Extension Library. This one focusses on the Dojo grid and the REST services controls.