361 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Got PNG? You may get problems.
Mon, Nov 17th 2014 213
VMWare Fusion VM Corrupted? Try this.
Mon, Nov 10th 2014 177
Domino SSL Fixes Coming: "Dis is good!"
Tue, Oct 21st 2014 360
Hey who got The Handsome Champion?
Thu, Jul 24th 2014 50
SoftLayer + IBM: One Year Update
Wed, Jul 2nd 2014 51
Streaming files to IE8? You may want this.
Fri, Jun 20th 2014 49
Let me tell you some things about the Irish...
Thu, Jun 12th 2014 43
Top 10
Domino SSL Fixes Coming: "Dis is good!"
Tue, Oct 21st 2014 360
Got PNG? You may get problems.
Mon, Nov 17th 2014 213
VMWare Fusion VM Corrupted? Try this.
Mon, Nov 10th 2014 177
Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 124
Setting Up The IBM HTTP Server with Domino 9
Wed, May 29th 2013 100
Use "secret" XPages for controlling scoped variables
Thu, Sep 20th 2012 83
Setting Up TLS (SSL) for IBM HTTP Server with Domino 9 - Part 1
Thu, May 30th 2013 73
FIX: "Infinite" IE windows from mailto links
Thu, Oct 17th 2013 73
Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 59
Add Custom HTML Templates to Your CKEditor
Wed, Oct 16th 2013 58


Isolate the problem
   

Here's a news flash:

Some things in XPages don't work the way you want them to or the way you thought they were going to work or the way IBM said they were going to work.

That's not meant to be a knock of any kind.  XPages are an awesome execution of extending JSF and coupling it into a very robust environment but the fact is there are a lot of moving parts and it is complex.  The folks at IBM spend their time trying to reduce the complexity of the tool itself and that is hard work so if the odd bug creeps in in your specific use case...well, so be it.

When you do encounter strangeness, make sure you isolate the issue and test it by itself.

Sounds obvious but when you're knee deep in battle with the code you might feel it is a waste of time to extract code to try and fix a problem.

If your XPage will not work without a bunch of nested custom controls, it will not work with a bunch of nested custom controls.

One development path could be to develop the entire XPage and see if all of the data saves when everything is displayed and it is all in the same page.  If it does, great!  Now break it up into smaller pieces where pieces are panels or custom controls. etc.

If your XPage does not work and you have it built with custom controls or other dynamic elements, save yourself some time and frustration by removing everything except for the problem and work the problem until it is fixed.

You can do this by making a copy of the original XPage and then tearing down the "live" XPage and then rebuilding it piece by piece until you find the problem or by creating the simplest of XPages and testing the problem there.

---------------------
http://xpagetips.blogspot.com/2012/01/isolate-problem.html
Jan 25, 2012
20 hits



Recent Blog Posts
213


Got PNG? You may get problems.
Mon, Nov 17th 2014 6:18a   Russell Maher
Last Spring I was configuring the Web Application Firewall in front of our Domino XPages application and discovered a rather annoying little Domino "feature." It seems that Domino likes to send PNG files down the wire while indicating that those files are JPEG files. To illustrate the issue I've included a screen shot from a quick Burp scan that shows there is a mismatch. The issue is that the image might not display at all depending on your network and security setup. This came up agai [read] Keywords: domino xpages application network security server
177


VMWare Fusion VM Corrupted? Try this.
Mon, Nov 10th 2014 5:17a   Russell Maher
I use several VMs and have been using VMWare Fusion for years. No problems. Then last month one of my two main vms got this strange error. I futzed with it but was in a hurry and ended up being able to copy the critical files off of it just in case and the darn thing is still corrupted somehow and I really cannot use it any more. So...this past weekend I received a similar error that looks somethings like this... ...except that this time it was on my really, really main VM so I quickly us [read] Keywords: google vm vmware
360


Domino SSL Fixes Coming: "Dis is good!"
Tue, Oct 21st 2014 10:10a   Russell Maher
As Nicolas Cages tells Cher in Moonstruck when he's eating the steak she cooked for him... "'Dis is good." IBM released two technotes today regarding SSL and Domino. I do wish this would have happened sooner but I can tell you from a lot of life experience that "late" is truly better than "never." Domino peeps will be able to support TLS 1.0 and disable SSLv3 support (to protect themselves from POODLE without a proxy server) AND support for SHA2 SSL/TLS certificates is also coming. [read] Keywords: domino ibm server
50


Hey who got The Handsome Champion?
Thu, Jul 24th 2014 1:11p   Russell Maher
My IBM Champion swag just arrived and I ripped into it like it was Christmas then got on a real roll with PhotoBooth! Thank you to IBM for having the Champion program and thank you to Oliver and Amanda for providing us with some really nice things. Very cool. The stuff is cool, no doubt about that, but it is still the honor of being selected an IBM Champion that is really really cool and I am very grateful. [read] Keywords: ibm
51


SoftLayer + IBM: One Year Update
Wed, Jul 2nd 2014 3:11p   Russell Maher
About a year ago I posted a couple of times regarding IBM's acquisition of SoftLayer. Received email this morning heralding the one year anniversary of the acquisition and I thought I would take a few moments to give my take as a SoftLayer customer. I was very concerned a year ago when I heard the SoftLayer announcement because, while I sincerely believe the financials of IBM's acquisition of Lotus Software back in 1995 are right in line with IBM's business track record (which is to say the [read] Keywords: ibm lotus application email
49


Streaming files to IE8? You may want this.
Fri, Jun 20th 2014 9:11a   Russell Maher
An easy XPages tip for a lazy Friday... Got SSL? Streaming files using an XAgent? You're gonna' get an error unless you do something like this: if(context.getUserAgent().isIE(8, 8)==false){ response.setHeader("Cache-Control", "no-cache"); } Apparently IE8 don't like no caching when streaming files over SSL. [read] Keywords: xpages




43


Let me tell you some things about the Irish...
Thu, Jun 12th 2014 6:12a   Russell Maher
To tie off my Ireland Itinerary series of posts I wanted to close with some thoughts on the Irish people and country. I have a curiosity about people that I do not often have the chance to indulge generally because I am too busy and many people find my inquisitive intensity to be unnerving but when I have the chance, the time and the opportunity I really try to learn as much about others as possible and am often rewarded with some valuable perspectives. What I found in Ireland is that the peop [read] Keywords:
37


A Few Pics from Ireland
Wed, Jun 11th 2014 6:12a   Russell Maher
Some of my favorite pics from our Ireland trip... They run anybody during elections! At Newgrange Giant's Causeway Sheeps At Harvey's Point they added this small fireplace room in 2004. It is so awesome! Kylemore Abbey Cows on the road Cows in a field. Banded Galloways Dinner at Hayfield Manor Where the Mahers are from Rock of Cashel Actually drank some whiskey...well Ginger Ale with some whiskey This is really good! Too much to drink? Fishing pole and an an MG [read] Keywords: application blogger google
35


Our Grand Ireland Itinerary: Nights 8-11
Tue, Jun 10th 2014 2:15p   Russell Maher
This is the second part in a series of posts about our trip to Ireland. Day 1 Itinerary Day 3 Itinerary Nights 8-11 Our first seven nights took us from Dublin to Trim to Northern Ireland to Donegal and then toward Galway. Nights 8-11 took us to the Dingle Peninsula, through part of the Ring of Kerry then over to Cork. Dingle The Dingle Peninsula is stunning. The road out on the peninsula offers some of the most stunning coastline you'll ever encounter. Really something to see. Sadly [read] Keywords:
31


Our Grand Ireland Itinerary: Nights 12-14
Tue, Jun 10th 2014 2:15p   Russell Maher
This is the third post in a series of posts about our Ireland itinerary. Day 1 Itinerary Day 2 Itinerary Nights 12-14 Our last drive took us from Cork, where we stayed at the lovely Hayfield Manor, to Dublin via Blarney Castle, where we both kissed the Blarney Stone, to Tipperary (the ancestral location ft the Mahers), to the Rock of Cashel, the lovely town of Kilkenny and then to Dublin where we dropped off the rental car after checking in to fabulous Westbury Hotel. Blarney Castle [read] Keywords: wiki




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition