Announcement

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

    #16
    Still stucked !

    Hello Again,
    after wasting much time applying the instructions on the FAQ you have referred to (although seems unrelated to the problem), nothing has changed !!

    could you please figure out in which cases any method call on the cubeGrid compiles but fails on the runtime with the given stack trace !!

    com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc[scClassName].create is not a function
    fileName: http://127.0.0.1:8888
    lineNumber: 88
    columnNumber: 0
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.smartgwt.client.widgets.cube.CubeGrid.getFacet(CubeGrid.java)
    at com.emeint.server.core.admin.client.widgets.cube.advanced.FacetMenu.<init>(FacetMenu.java:69)

    Comment


      #17
      By the way, replacing the cube instance with a listgrid one works just fine !!
      another thing : cubeInstance.getJsObj() returns null !! what does it mean ?!
      Last edited by minaazmy; 19 Mar 2013, 06:55.

      Comment


        #18
        Did you actually follow the FAQ instructions to completion? If so what was the result?

        Specifically what did you see in the "Net" Panel in Firebug for ISC_Analytics.js? Was it successfully loaded? Does the file's version and date stamp agree perfectly with the other ISC_*.js files?

        Comment


          #19
          Originally posted by Isomorphic View Post
          Did you actually follow the FAQ instructions to completion? If so what was the result?

          Specifically what did you see in the "Net" Panel in Firebug for ISC_Analytics.js? Was it successfully loaded? Does the file's version and date stamp agree perfectly with the other ISC_*.js files?
          I did figured it out, the solution is to import the analytics (<inherits name="com.smartgwt.Analytics"/>
          ) on the module-gwt.xml file while Not importing the analytics script on the module html page, unfortunately nothing clear about this on the FAQ besides -honestly- the FAQ is somehow unpractical as it enforces you to do much many steps that you actually don't need ! I think it would be better to make it clearer about the different modules, jars & scripts to include or inherit rather than just enforcing the developer to do steps blindly this way.. thanks.
          Last edited by minaazmy; 20 Mar 2013, 03:01. Reason: correcting info

          Comment


            #20
            Sorry, can't see where you're coming from with these complaints.

            How to add Optional Modules is clearly documented. There is no need for any kind of blind steps, it's a simple procedure, and we have taken pains to link to it from every class that requires Optional Modules.

            Further, the procedure recommended in the FAQ for checking for staleness takes about 30 seconds. It doesn't seem like it could further improved upon.

            Comment

            Working...
            X