Results 1 to 6 of 6

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Something might have been wrong in the previous Adapters configuration.
    In such a case, the Server initialization could have not completed successfully, for instance, because of a block in the "init" method of an Adapter.
    Hence, the Server behavior may depend entirely on the Adapter behavior.

    The second issue can be related with the client configuration, as I warned in the previous post.
    Your page sets a port through
    lsEngine.connection.setLSPort("227");
    From that, I assume that you have a Web Server (or something equivalent) running on the same machine as Lightstreamer Server and that you get the front-end pages from this Web Server.
    May you please confirm the above assumption, first of all?

  2. #2
    Member
    Join Date
    Jul 2009
    Location
    Overland
    Posts
    3
    Yes, it's running on the same server. I figured out the firefox issue - it was an issue with making the domain and host match.

    I'm trying to debug another problem now. I'm doing paging through AJAX and recreating a Table object with every paging call but I'm not getting subscriptions for anything but the first page.

    This is my code that gets called every time:

    // create an OverwriteTable; item and field names will be grabbed from
    // the corresponding HTML divs
    // auctionItems is the new set of items to be added to the list
    var table = new OverwriteTable(null, null, "MERGE");
    table.setRequestedMaxFrequency(1.0);
    table.setPushedHtmlEnabled(true);

    table.setDataAdapter("DEFAULT");
    table.setSnapshotRequired(false);
    pushPage.addTable(table, "main");


    I noticed in the StockListDemo page the client script is passing a value to the group and schema paramters , where I'm passing null to those every time. Do I need to be passing values for those on each page change?

    Thanks!

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    The null arguments in place of group and schema arguments request Lightstreamer to find the available cells in the page DOM and extract the item and field names from them.
    In order to better understand which names have been found, please show us a snippet of the Server log,
    in which the first and the subsequent subscription requests related to the various calls to "addTable" can be identified.

 

 

Similar Threads

  1. Running LS client from file
    By surya in forum Client SDKs
    Replies: 6
    Last Post: March 3rd, 2011, 03:35 PM
  2. Replies: 4
    Last Post: February 3rd, 2011, 10:33 AM
  3. Replies: 4
    Last Post: February 4th, 2009, 11:45 PM
  4. Running Lightstreamer Web Client : Permission Denied
    By cbradbury in forum Client SDKs
    Replies: 1
    Last Post: February 5th, 2007, 06:32 PM
  5. Replies: 0
    Last Post: January 10th, 2007, 04:03 PM

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:39 PM.