Completely changed the way demo pages are created. Now use mainArea.xsp custom control, adding SSJS button and Java button. Pass in title, description and methodName. Bean="openNTF"+title+"Bean"