Dario,
thanks for the notification.
Attached is the requested snippet.
And regarding the "self.parent", as Mone has said that "thanks to the engine name", the reference should be no problem. But we'll take a look at your suggestion in using "self.opener".
// Main Page master push-page & master engine
<html>
...
...
...
<script language="JavaScript">
...
...
...
var lsPage = new PushPage();
lsPage.context.setDebugAlertsOnClientError(false);
lsPage.context.setDomain("ciptaonline");
lsPage.onEngineCreation = startEngine;
lsPage.bind();
lsPage.createEngine("RTEngine", "LS/","SHARE_SESSION");
function startEngine(eng) {
eng.policy.setMaxBandwidth(30);
eng.policy.setIdleTimeout(30000);
eng.policy.setPollingInterval(1000);
eng.connection.setLSHost("cipta-linux2.ciptaonline");
eng.connection.setLSPort(8080);
eng.connection.setAdapterName("RT2");
eng.changeStatus("STREAMING");
}
...
...
...
</script>
...
...
...
</html>
//==========================================================
// Derivative (pop-up) window
<html>
...
...
...
<script language="JavaScript">
...
...
...
var lsPage = new PushPage();
var debugAlerts = true;
var remoteAlerts = false;
var pushHost = null;
var txtDomain="ciptaonline";
if (location.href.indexOf(txtDomain) > -1) {
lsPage.context.setDomain(txtDomain);
debugAlerts = false;
remoteAlerts = true;
} else {
lsPage.context.setDomain(txtDomain);
}
lsPage.context.setDebugAlertsOnClientError(debugAlerts);
lsPage.context.setRemoteAlertsOnClientError(remoteAlerts);
lsPage.bind();
lsPage.onClientError = function(mex) {
alert("Page SalesPortfolio\n"+mex);
};
lsPage.seekEngine("RTEngine",self.parent);
...
...
...
</script>
...
...
...
</html>
Thanks again.