docTemplate.addItsNatAttachedClientEventListener(new TestRemoteControlListener(false));
docTemplate.addEventListener(new TestGlobalEventListener(docTemplate));
docTemplate.setCommMode(CommMode.SCRIPT_HOLD); // SCRIPT_HOLD ser� lo normal en attached server
docTemplate = registerDocument("test_core_iframe","text/html",pathPrefix,pages); // "application/xhtml+xml" "text/html"
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());