Good day/evening all 🙂
As I had hoped, I had an awesome 10 full hours of XPages today. What a learning curve for the most part. I made the decision this morning to investigate and manipulate some of the Controls in the XPages Extension Library. Sadly, I found a defect as well as an inconsistency.
Today I created a Travel Requisition Dashboard, which is made up of the following:
- Extension Library Application Layout
- oneuiv2_red Theme with some customization
- Dojo Data Grid using View Json Rest Service
- Dojo Tab Container that gets fed from the Dojo Data Grid.
- Database Search Enablement using the Extension Library Application Layout and a Default view
- The Loading Mask Custom Control from Mark Hughes which ships with his View Picklist Custom Control
- The Famous Jeremy Hodge ZetaOne Modal Dialog, which contains a Dojo Accordion Container for Form Input
The defect I found was in the Dojo Tab Container. It works well for the most part, but if you enable the “Closable” Property in the Dojo Tab Pane, you will experience a hiccup now and then. Essentially, if you try to close a tab when that tab is inactive (i.e. if you’re currently viewing another tab), the tab will be removed in the UI, but not in the backend, which just messes up your entire page. I will be logging this on OpenNTF soonest and hopefully the guys will sort it out soon.
Then, I used the Extension Library Dialog Control, and inside it, I added the Dojo Accordion Container with the Button Dialog. After much troubleshooting, I finally got it working in Firefox, but sadly not in Chrome or IE. I had to wash my hands off the Dialog Control for now.
Then, thanks to Jeremy Hodge and Mark Hughes, I got the ZetaOne Modal Dialog working on my Page. It took a little while initially, but once I got it up and running, I added the Accordion Container, and guess what….My first test was successful on IE, Firefox, Chrome and Safari. Now that’s what I call POWER CODE.
To sum it up, it’s Friday 10:30pm, and it’s been a Power Day. I look forward to chilling a bit this weekend. New Zealand play France tomorrow.
Have a good weekend all.