Announcement

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

    #31
    Be sure to post a stack trace with any JS error (see the Debugging topic). You probably also want to enable the "xmlSelect" and "xmlBinding" log categories.

    Comment


      #32
      See amended log below. The xmlSelect and xmlBinding are set to "Error" although at this point, despite reading the Debugging topic, I am unsure where the output from these settings actually ends up - does the information below help?

      Code:
      22:09:21.068:INFO:Log:initialized
      22:09:21.988:INFO:Log:isc.Page is loaded
      22:09:22.378:RDQ0:WARN:Log:Error:
      	''undefined' is null or not an object'
      	in http://localhost:9090/examples/gcw/DataBind.htm
      	at line 400
          GridRenderer.$50d(_1=>0, _2=>1, _3=>undef, _4=>4, _5=>undef)
          GridRenderer.getTableHTML(_1=>undef, _2=>undef, _3=>undef)
          GridRenderer.getInnerHTML(undef)
              "return this.getTableHTML()"
          Class.invokeSuper(_1=>null, _2=>"getInnerHTML", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
          Class.Super(_1=>"getInnerHTML", _2=>Obj{length:1}, _3=>undef)
          GridBody.getInnerHTML(undef)
          Canvas.$px(_1=>undef)
          Canvas.$rd(undef, undef, undef, undef, undef, undef, undef, undef)
          ** recursed on Class.invokeSuper

      Comment


        #33
        You want to set those log categories to Debug, then you'll see the output in the Log Messages area. Whatever is being selected, the grid doesn't like it. These logs will help; it's also a good idea to echo() dsResponse.data to the logs from transformResponse().

        Comment


          #34
          On second thought, obvious problem: no fields declared on either the datasource of the grid.

          Comment


            #35
            > On second thought, obvious problem: no fields declared on either the datasource of the grid.

            YYYYYYYYYYEEEEEEEEEESSSSSSSSSS !!!!!!!!!! That did it <VBG>.

            Can I just express my thanks for your patience and absolutely terrific support in helping me through this one. It has been a tad frustrating but I have learned much (having been somewhat out of my comfort zone - the safe world of MS rich-desktop enterprise applications) - Thank you, Thank you, Thank you !!! :)

            >That looks like it could be a bug (at last! :)

            >If so, you can work around it by moving your xmlNamespaces declaration into the operationBinding.

            With regard to the above, will you internally "log" this issue?

            Thanks again!

            Comment


              #36
              Good to hear.

              In fact the issue with xmlNamespaces is already fixed for 7.0.

              Comment

              Working...
              X