Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2010
    Location
    Los Angeles
    Posts
    1

    Sample code for multiple data adapter access

    I am sorry if this has been asked before.

    I tried searching the forums but could not find any sample code of the web client library where data from multiple data adapters is accessed in a single push page, if that is possible at all.

    Please direct me to some such resource.

    Thanks.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    you can access two different data adapter from the same page only if they're part of the same adapter set.
    you can't connect to two different adapter sets from the same page.
    The difference between the two is explained in the "Lightstreamer/DOCS-SDKs/General Concepts.pdf" file


    to connect to two different data adapters simply specify them with the setDataAdapter method of the Table objects.
    As an example, using our demo adapter set that contains all the data adapters for our demos, you may subscribe to the chat and stocklist in the same page:


 

 

Similar Threads

  1. Single data provider and multiple data sources
    By pluczak in forum Adapter SDKs
    Replies: 1
    Last Post: April 26th, 2012, 11:50 AM
  2. Replies: 1
    Last Post: January 31st, 2011, 08:47 AM
  3. Data Adapter sample for COMMAND mode
    By Otake in forum Adapter SDKs
    Replies: 5
    Last Post: October 18th, 2009, 08:09 PM
  4. Tibco sample Code
    By wmolde in forum Client SDKs
    Replies: 5
    Last Post: September 24th, 2009, 11:59 AM
  5. Need sample code for Meta Adapter
    By rekhender in forum Adapter SDKs
    Replies: 5
    Last Post: July 23rd, 2008, 10:34 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:08 AM.