i upgraded my libraries.
the 2 last message don't appear anymore, but still the first one pops up every 2 or 5 seconds, that is:
4: 13:2: 54,42 ER The createEngine() method should be called in the BODY part of ihe page, not in the HEAD createEngine
i've put this code in different places (in the head, in the onload() function, in body,..), but the message still the same :
var pushPage = new PushPage();
pushPage.context.setDebugAlertsOnClientError(true) ;
pushPage.context.setDomain("mydodo.tn");
pushPage.onEngineCreation = function(lsEngine) {
lsEngine.context.setDebugAlertsOnClientError(true) ;
lsEngine.connection.setLSHost("push.mydodo.tn");
lsEngine.connection.setLSPort(8081);
lsEngine.connection.setAdapterName("STOCKLISTDEMO" );
lsEngine.changeStatus("STREAMING");
};
pushPage.bind();
pushPage.createEngine("StockListEngine", "../flux/ls/", "SHARE_SESSION", true);
this still works on firefox and ie, not chrome nor safari.