// docTemplate = registerDocument("test_anything","text/html",pathPrefix,pages);
// docTemplate.addItsNatServletRequestListener(new TestAnythingDocLoadListener());
docTemplate = registerDocument("test_xul","application/vnd.mozilla.xul+xml",pathPrefix,pages);
docTemplate.addItsNatServletRequestListener(new TestXULDocLoadListener());
docTemplate.setReferrerEnabled(true);
docTemplate.addItsNatAttachedClientEventListener(new TestRemoteControlListener(false));
docTemplate = registerDocument("test_xul_attached_server_launcher","application/vnd.mozilla.xul+xml",pathPrefix,pages);
// Ver notas en test_core_attached_server_launcher
docTemplate.addItsNatServletRequestListener(new TestXULAttachServerLauncherDocLoadListener());
docTemplate.setScriptingEnabled(false);
docTemplate.setFastLoadMode(true);
docTemplate = itsNatServlet.registerItsNatDocumentTemplateAttachedServer("test_xul_attached_server","application/vnd.mozilla.xul+xml");
docTemplate.addItsNatServletRequestListener(new TestXULDocLoadListener());
docTemplate.setCommMode(CommMode.SCRIPT_HOLD); // SCRIPT_HOLD ser� lo normal en attached server
docTemplate = registerDocument("test_iframe","text/html",pathPrefix,pages);
docTemplate.addItsNatServletRequestListener(new TestIFrameHTMLDocLoadListener());