354 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
More security. That's what I'M talkin' about!
Mon, Mar 31st 2014 207
Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 199
Some Cultural Thoughts II (3 movies)
Thu, Mar 13th 2014 80
Wife Really Got Me Laughing
Thu, Mar 13th 2014 172
Using CKEditor 4: Part 5 - iPad Demonstration
Thu, Mar 13th 2014 290
Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 285
Using CKEditor 4: Part 2 - Copy CKEditor contents to another field
Mon, Mar 10th 2014 155
Top 10
Lotusphere: It just gets curiouser and curiouser - The Bad
Mon, Feb 3rd 2014 448
Lotusphere: It just gets curiouser and curiouser - The Good
Mon, Feb 3rd 2014 425
Using CKEditor 4: Part1 - Preface + Setup
Mon, Mar 10th 2014 326
Using CKEditor 4: Part 5 - iPad Demonstration
Thu, Mar 13th 2014 290
Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 285
Yes! I am at Connect 2014 in Orlando!
Sat, Jan 25th 2014 276
Add Custom HTML Templates to Your CKEditor
Wed, Oct 16th 2013 210
I dub thee "Tree Killer"
Tue, Jan 21st 2014 209
More security. That's what I'M talkin' about!
Mon, Mar 31st 2014 207
Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 199


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
22 hits



Recent Blog Posts
207


More security. That's what I'M talkin' about!
Mon, Mar 31st 2014 11:11p   Russell Maher
Just deployed a Citrix Netscaler Platinum into our SoftLayer infrastructure. While we are quite confident in Domino and XPages security, a recent application vulnerability scan highlighted a couple of areas where Domino comes up a little short. For example, not being able to set the SessionID cookie as Secure (SSL only) could be a bit of an issue under the right circumstances. I have been evaluating the Netscaler for a few weeks and pretty much it's a web application administrator control fr [read] Keywords: domino xpages application citrix network security
199


Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 6:14a   Russell Maher
This is Part 6 (final part) of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In the last video I showed how this technique looks on an actual iPad..In this video I discuss some things to be aware of when working with the CKEditor, either CKEditor 4 or the currently installed XPages version (3.6.6.2). CKEditors jump! Validation usually in play in XPage apps will probably require a more e [read] Keywords: script library xpages application blogger google
80


Some Cultural Thoughts II (3 movies)
Thu, Mar 13th 2014 11:13p   Russell Maher
As I wrote in an earlier post, we've been viewing our way through the Oscar-nominated movies and we've just completed three more this week. Captain Phillips Fantastic movie! Watch it. Interesting fact...my oldest daughter was dating a fellow at the time who was serving on one of the U.S. Navy ships involved in the rescue. Gripping story plus Tom Hanks plus perfect movie-long crescendo of tension that ends in a rather incredible way even when you know how the story ends. Gravity Techni [read] Keywords:
172


Wife Really Got Me Laughing
Thu, Mar 13th 2014 9:12a   Russell Maher
Today I am 51. One of my pet peeves is wearing socks with sandals. I just don't get it unless you have a condition but even then I just don't get it. Up until the last few years when the 20-somethings started doing it, the Wearin' O' the Socks with Sandals was primarily limited to Old Guys. Got this card this morning from Karen and she really had me laughing! [read] Keywords:
290


Using CKEditor 4: Part 5 - iPad Demonstration
Thu, Mar 13th 2014 6:12a   Russell Maher
This is Part 5 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In the last video I discussed coding for Read/Edit modes and validation. In this video I show what it looks like on an iPad and add a new field to, uh, accommodate some aberrant behavior! I think the issue is with the CKEditor but just wanted you to see the issue and understand why things were changed slightly. My guess is yo [read] Keywords: xpages application blogger google
285


Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 6:14a   Russell Maher
This is Part 4 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In this video I show the technique we used to make an XPage work in both Edit and read mode and also talk a little about field validation. For XPager Devs, these techniques will be Old Hat! Enjoy! [read] Keywords: xpages application blogger google
155


Using CKEditor 4: Part 2 - Copy CKEditor contents to another field
Mon, Mar 10th 2014 4:12p   Russell Maher
This is Part 2 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In this video I show the technique we used to transfer the HTML content from the CKEditor into a standard XPages Multiline Edit Box control. The technology behind this is something those of us in the business call "Javascript." Pretty fancy stuff, I know, but I'm quite sure it is gonna' be big someday. Enjoy! [read] Keywords: xpages application blogger google javascript
149


Using CKEditor 4: Part 3 - Convert content into MIME
Mon, Mar 10th 2014 4:12p   Russell Maher
This is Part 3 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In the last video I showed how we were transferring the content of CKEditor 4 into an XPages control. In this video I show how the copied HTML is saved into the document as MIME which is really what you're after when implementing a "rich text" web editor after all! Enjoy! [read] Keywords: rich text xpages application blogger google
326


Using CKEditor 4: Part1 - Preface + Setup
Mon, Mar 10th 2014 6:12a   Russell Maher
Last Fall we needed to implement a better rich text editor for iPad users and found CKEditor 4 addressed the issues we had with the currently installed CKEditor and also met our needs. This series of videos provide a look into the technique we used and the steps required to make it work. Our application is based entirely on beans so it was a little tough to extract the technique into a little more non-bean-friendly XPage solution but I think I have given the topic a pretty good once over here [read] Keywords: rich text xpages application blogger google
90


Some Cultural Thoughts (4 Movies and a Book)
Sat, Mar 8th 2014 11:12a   Russell Maher
A few thoughts on Thinge Cultural... Heart of Darkness - by Joseph Conrad Finished Heart of Darkness by Joseph Conrad a few weeks ago. Had heard the book referred to in the remake of King Kong and also Anthony Bourdain's Parts Unknown Congo episode and added it to my list of "classics I should read." Moby Dick is a fairly dense read but this Heart of Darkness was a whole order higher in reading challenge for me. The book is written as someone telling a story about their experience headi [read] Keywords: wiki




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