docTemplate.addItsNatServletRequestListener(new TestCoreIFrameDocLoadListener());
docTemplate.addItsNatAttachedClientEventListener(new TestRemoteControlListener(false));
//docTemplate.setReferrerEnabled(true);
docTemplate = registerDocument("test_components","text/html",pathPrefix,pages); // "application/xhtml+xml" "text/html"
docTemplate.addItsNatServletRequestListener(new TestComponentsDocLoadListener());
docTemplate.addItsNatAttachedClientEventListener(new TestRemoteControlListener(false));
docTemplate.addCreateItsNatComponentListener(new TestCreateItsNatComponentListener());
// docTemplate.setAutoBuildComponents(true);
docTemplate.registerArtifact("tableComplexStructure",new TestComplexHTMLTableStructure());
docTemplate.setJoystickMode(joystickMode);