Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2009
    Location
    Salò
    Posts
    6

    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?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    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

  1. Unusual scenario with lightstreemer client
    By mnenchev in forum Client SDKs
    Replies: 3
    Last Post: August 28th, 2009, 11:06 AM
  2. Integration scenario
    By churrusco in forum General
    Replies: 1
    Last Post: April 7th, 2007, 01:00 PM
  3. Replies: 3
    Last Post: March 23rd, 2007, 10:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 05:57 PM.