Tuesday, 17 May 2011

Typo in code - dbcolumn !!

Had a sametime chat yesterday via BleedYellow started by Ed x Sanford with a question about a post from end of march on dblookup and dbcolumn in Xpages. The cache setting is not working on the dbcolumn code, why?
A glance at the code quickly learned that indeed the dbcolumn code would never cache.
The problem was in the second (actual) line of code. The "not" ! should not be there.
Thanks Ed for contacting me. The code snippets on the original blog entries have been changed accordingly.