I recently completed my first “Production” XPages application. Messing with the XPages calendar really helped but I learned that too long away from something after just learning it is bad. But anyways, while researching for said application I came across the IBM Lotus User Interface Developer Documentation site. I don’t know where or how I found it but it contains a wealth of information on the oneUI classes with examples using them. On this site I found a Menu with Sections and the app needed a sectioned navigational menu.
If you recall we left off from Part 4 with a blank day and week view. Well, through much gritting and knashing of teeth I’ve finally got some data on the day view. Now before I go any farther, I would like to thank a few people whom without I’m sure I would still be sitting here scratching my head trying to figure out how to do this:
- Jeremy Hodge for this article and also cluing me in on using the dojo.addOnLoad function
- Steve Castledine for showing me that @DbLookup,
In our last sessions we created a blank monthly calendar, then put some data on the calendar and last we made it reusable so we can use it in any application. While this is all well and good, we need to be able to see the breakdown of times on a daily and weekly basis. So in this SnTT we will be adding blank day and week views. I’m doing blank views because I can’t quite figure out how to place entries so that they span the correct amount of time.
In our previous posts we’ve created a blank calendar and then added some data to it. While this is all well and good, it’s not very reusable in it’s current state. It’s quite dependent on a view being formatted a particular way. What if you already have a view with the data you want to put on the calendar and don’t want to change that view? Well, this is what we’re going to address today.
The other day I showed you how to make a custom control for an empty calendar. While neat it really isn’t very useful unless you can put some data on it. So today’s SnTT is to put some data on the calendar. Also, it seems there was a bug in the original code for the month “forward” and “back” links which caused the calendar to do some weird things, but no worries, that has now been fixed and is available in the download.
While at LotusPhere I was searching for a way to create a Calendar using XPages to try and duplicate a Calendar View in the Notes Client. As I’ve said earlier, I believe this was a big part of XPages that was left out or just forgotten about. Well, I finally broke down and tried creating a Calendar Control on my own. Well I can’t really say I did it on my own as I used the tutorials over on Declan’s site and I had to enlist some help from Declan to solve a problem with the first row of the calendar.
As you are probably aware of, I’ve been revamping keithstric.com. In that revamp I wanted to add a Google Custom Search (CSE) engine to search only my site. Making the CSE was easy enough with the wizard Google supplies but, I didn’t like the way that it either redirected you to a google page or you had to submit the search to another dedicated page on your site. So I set on the quest of getting the results to show up where the content of my website usually shows up.
The other day I posted about a Google Charts class I created to make it easier to put a Google Chart in your Lotus Notes/Domino application. Well, this SnTT will show you how you can incorporate this class and display some pretty charts in the Lotus Notes client. I’ve done other articles about using charts in your Lotus Notes applications, but I think this is probably the easiest and most elegant way of showing a chart.
I’ve been working on a reservations application for my employer and one of the requirements was for a picture to be provided of a resource and for that picture to show up in the reservation. Now that sounds like a simple enough request but unfortunately it’s easier said than done, or so it seems. Now, the normal way to do this is to create a “Computed Text” area with a value containing an tag with the appropriate URL to the image.
This week I’ve been working on getting amCharts to work in a dashboard I’m working on. I was pointed to amCharts and the inkling of how to accomplish this by the sample database from the LotusPhere 2008 session BP210: Reports, Charts and Graphs in IBM Lotus Notes over on Julian Robichaux ‘s site. In this SnTT, I want to show you another way to implement this
functionality into your applications.