Results 1 to 10 of 11

Hybrid View

  1. #1
    I have taken the steps you have outlined and I am getting the same error.

    I used the Online Generator with the LightStreamerClient, Subscription, and Use namedspaced globals options. (we are not using any other classes)

    I copied the output of the generator and replaced the lightstreamer.js file contents with the generated output.

    I changed all references to
    ->


    I cleaned all the GWT output files, recompiled, and still received the same error. I then removed the <inherits name='com.google.gwt.query.Query'/> from the xml and recompiled/ran, and started noticing the call to new $wnd.Lightstreamer.LightstreamerClient(); was returning null.

    Is there a change to the lightstreamer_globals.js that also needed to happen?

    Thanks

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi flybyGWT,

    No, no changes to the generated library, you just need be sure that the new library file is correctly pointed from html page.

  3. #3
    I apologize i am taking this over from another developer so I am not entirely which scripts are suppose to be included.

    Our html page only loads <script src="lightstreamer/lightstreamer_globals.js"></script>... Is that incorrect?

    Thanks.

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Only one file needs to be included and the filename where you saved the generated library should match with the <script> command in HTML page.
    So, if you have saved the lib in "lightstreamer/lightstreamer.js", you should change html page in:


 

 

Tags for this Thread

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 12:55 AM.