-
October 2nd, 2009, 10:51 AM
#1
More tables in one page scenario
Hi,
I have some pages in my web-app that should display multiple table being updated by lightstreamer.
The fact is, I should stop & start some of them at will via javascript.
The safer way should be changing status to the engine but this would imply having one engine per table and I don't think it's possible.
I tried this way but I alway get this error whenever I create a new engine :
"Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Fri, 2 Oct 2009 09:48:35 UTC
Messaggio: 'LS_DrC.LS_VrG' è nullo o non è un oggetto
Linea: 9
Carattere: 19609
Codice: 0
URI: http://masternet.omatic.it/ls/lspushpage.js"
Another way should be having one engine in my page, if I need to stop a table I should remove it from its pushpage. Is it the only way?
-
October 2nd, 2009, 02:13 PM
#2
I confirm that multiple Engines in the same pages are not supported
and multiple Engines in different pages are not recommended (we recommend that you share the Engine among all your pages).
Stopping and restarting push on single tables can be done by calling removeTable and then addTable again, leaving the same table id.
The screen appearance of the tables is not changed;
moreover you have the option to either leave or clear the current values on the table during this operation (see the setClear... methods in the VisualTable superclass).
If you don't clear the values in the table, ensure that the snapshot is requested upon subscription.
Similar Threads
-
By mnenchev in forum Client SDKs
Replies: 3
Last Post: August 28th, 2009, 10:06 AM
-
By churrusco in forum General
Replies: 1
Last Post: April 7th, 2007, 12:00 PM
-
By rsouissi in forum Client SDKs
Replies: 3
Last Post: March 23rd, 2007, 09:42 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:00 PM.
Bookmarks