Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Smartclient conflicting with the existing RealTime server

    We have an application which already connects to a RealTime server called Caplin Liberator, which is updating two sections in the page.

    We want to use SmartClient realtime-messaging to update one section, but found out that if we use both, the Caplin piece doesnt update.

    It's strage that even if we just include the libraries like this, the Capliin piece is not updating.

    Note: Caplin is accessed through different subdomain URL so there is no limitation of browser connections.

    <SCRIPT>window.isomorphicDir='../isomorphic/';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Core.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='Core';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_RealtimeMessaging.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='RealtimeMessaging';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Foundation.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='Foundation';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Containers.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='Containers';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Grids.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='Grids';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_Forms.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='Forms';</SCRIPT>
    <SCRIPT SRC=../isomorphic/system/modules/ISC_DataBinding.js?isc_version=7.0rc4.js></SCRIPT><SCRIPT>isc._lastModule='DataBinding';</SCRIPT>
    <SCRIPT SRC=../isomorphic/skins/standard/load_skin.js?isc_version=7.0rc4.js></SCRIPT>


    Any idea? Can you suggest some ways to investigate this issue.

    #2
    The most likely cause is Caplin code doing things that are bad from an Ajax interoperability standpoint. Try loading SmartClient second (after Caplin). Other than that, standard debugging techniques apply - look for JS errors, step through Caplin code, etc.

    Comment


      #3
      Currently Smartclient loads after Caplin, I tried to swap the order too, still no luck.

      Also even I dont include the RealtimeModule of SmartClient it still breaks the Caplin update.

      With the above setup, Smartclient updates are seen but Caplin updates are not seen even though it recieves through its connection (tracing thru firebug).

      Only if i remove the entire smartclient libraries, the Caplin piece updates as expected.
      Last edited by subashk; 13 Jul 2010, 08:16.

      Comment


        #4
        Is there any conflict between smartclient library and prototype library, can we use both in the same project?

        Comment


          #5
          In general, try loading SmartClient after Prototype. There are many versions of Prototype and ways of using it - we don't maintain compatibility matrices.

          Comment

          Working...
          X