Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009

    More tables in one page scenario

    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

    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
    Join Date
    Jul 2006
    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, 10:06 AM
  2. Integration scenario
    By churrusco in forum General
    Replies: 1
    Last Post: April 7th, 2007, 12:00 PM
  3. 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
All times are GMT +1. The time now is 04:12 AM.