Subscribe via Feed

XPages Week in Review No. 7

Bruce Elgort, Jan 16, 2011 4:40:23 PM

I decided to update the search interface demo a little bit.
Changes:
* Cleaned up/improved some of the code
* Made the ViewEntry search sortable in both directions
* Improved the ViewEntry search code, so that it should be a little quicker
* Added a load time indicator (measures the time it takes to search/sort)
* When you click to sort a column, the pager automatically goes to the first page
* Changed resorting to execute partially (partial refresh)
* Added error handling (shows up as a "validation error" box)
Do you know Flattr? It's a service that aims to solve one big issue of the web: how to get rewarded for creating good content. 

I really like the idea and concept of Flattr, if you don't know it yet I suggest to visit their site, it will tell you about the idea instantly. 
The amount of XPages news, e.g. blog entries, new OpenNTF projects, etc. has grown over the last months significantly. In the first 16 days of this year XPages.info has tracked 37 blog entries. That's why we've done some changes to XPages.info

The home page now shows the latest 30 news (previously 10). From the home page you can navigate to the 'all news' page. 
One year ago we demo'ed LS2Eclipse, a toolkit to connect LotusScript and Eclipse APIs in our session at Lotusphere 2010. For this year's session, we decided to port the same functionality to the XPages in the Client (XPinC) world!
I've been head down in several fun XPages projects for a while, and it has left me little time to blog as of late. Something I intend to rectify going forward.
So here's a small example of something you can do with managed beans, different from what I've shown in the past. This managed bean creates a Gravatar object that you can use to insert a user's Gravatar image into your XPage. It's uses the Java code example from gravatar.com, and expands upon it a little bit to create a simple function to create the url.
I always develops xPages locally because it is much quicker, especially the compilation, ie when saving xPages or java objects. if you save a xPages which has links to java objects can take several minutes to recompile to run on a server. but if it is locally compiled everything in a few seconds and when then replicates to the server it works directly.
When I'm coding an XPage, I live in the Source tab... especially now that, as of 8.5.2, I can drag new components directly into the XML instead of having to choose between typing everything manually and bouncing back and forth between tabs each time I want to add a new component. One pet peeve I have, however, is when I open a design element and find that the XML isn't formatted: no line breaks between tags, inconsistent white space surrounding attributes, etc. I know, that's a fairly petty thing to get annoyed about, but when I'm troubleshooting a problem or even just trying to familiarize myself with a codebase, I prefer order to chaos every time.
The IBM developerWorks team has added links to XPages.info and OpenNTF.org to the developerWorks Lotus zone home page
XPages Newbie Tip - Kendra Stapleton
I am wading through some free tutorials - while following a tutorial I kept getting a generic "Error 500" while testing - not very helpful. After hunting around I found this application property: "Display XPages runtime error page" on the XPages tab of the Application Properties.
Stephan Wissel was so kind and published his Burnchart implementation. And furthermore, he agreed to put this into our YouAtNotes xCharting Custom Control. 
So, here it is, version 1.1 of YouAtNotes xCharting with some minor bugfixes and Stephan's Burncharts!
I won’t bore you with the entire back story of how this got started, so let’s just say that I blame it all on Joyce Davis from the Lotus Technical Education Community.  Anyway…
Most developers have seen “Cheat Sheets” before. They have them for PHP, HTML, JavaScript, jQuery, Blueprint CSS…  They even have them for Math subjects like Algebra,Calculus and Trig and other school type subjects…  You can buy pretty ones in bookstores… There are websites devoted to them… I could go on and on. Cheat sheets are everywhere.
Lets face it, the default pager on an XPage is not all that attractive, especially when apps are looking like they do on an iPad or iPhone.  So i came up with an iPad inspired pager as an example of how you can customize the appearance of this element.
As featured in our blog entry from Monday, January 10 fileSendr is an application that allows people to avoid having to send large file using email, but can instead upload them to fileSendr.  Once in fileSendr users can access the files easily using an access key. fileSendr was developed by OpenNTF Contributor and Committer Declan Sciolla-Lynch. fileSendr was developed in XPages. 
Once we have defined the Five Ws of Mobile XPages, we will need to figure out the How. The How (specific to the topic of Mobile XPages NotesDatabase app architecture) will illustrate the built-in MVC software architecture options available to IBM Lotus Notes Domino Application Developers, and afford you the ability to create extended user interfaces and user experiences for your traditionalNotesDatabase applications without interrupting production environments.
For anyone who hasn't seen it yet or just didn't believe it had actually happened, a new episode of The XCast was posted yesterday afternoon. Tim Clark, David Leedy and I discuss what's happened in the xsphere since May last year and any session at Lotusphere 2011 that has any oblique reference to XPages. Even if you are not able to attend Lotusphere I would recommend the podcast to give you a heads-up on what developers are doing with XPages. And look out for the sessions also at your local LUG.


0 responses to XPages Week in Review No. 7