From F. Kranenburg's original post I added the following to the "beforeRenderResponse" of the prtView and prtViewCategories custom controls and the issue appears to be resolved.
Thanks for the solution.
var lookup = context.getUrlParameter("lookupName");
var db:NotesDatabase = database;
var xview:NotesView=database.getView("vSysCat");
var doc:NotesDocument=null;
var contentType:String;
try {
doc:NotesDocument=xview.getDocumentByKey(lookup,true);
if ( doc == null ) {
requestScope.activeTab = "home";
} else {
contentType = doc.getItemValueString("contentType");
if(contentType == "prodDoc"){
requestScope.activeTab = "prodDoc";
//set the current productName and productVersion
var products = applicationScope.tabconfig.productDocNav;
for(var i=0; i
var productJSON = products.get(i);
var singleProduct = eval('('+productJSON+')');
//if this product's category lookup value equals the current
//lookup value, then set the request scope variables
//to this product's values
for(var j=0; j
if(singleProduct.versions[j].category == lookup){
requestScope.productName = singleProduct.name;
requestScope.productVersion = singleProduct.versions[j].version;
break;
}
}
}
}
else if(contentType == "learning"){
requestScope.activeTab = "learning";
}
else{
requestScope.activeTab = "home";
}
}
} catch (e) {
print (e.toString());
}