Announcement

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

  • ssieb
    replied
    After clearing the war folder and using the 2.5 nightly build, the error doesn't happen now.

    Thank you.

    Leave a comment:


  • joachimbjorklund
    replied
    Works nice, thanks a lot! Is it possible to get a callback when the form is saved?

    btw when is 2.5 about to be released?

    Rgds
    - Joachim

    Leave a comment:


  • Isomorphic
    replied
    Try the latest nightly build (smartclient.com/builds).

    Leave a comment:


  • joachimbjorklund
    replied
    I've got the same problem, tried IE, Chrome and FF. Checked the response from the server and it looks ok. Here's a stacktrace from DC if it could be to any help?

    13:41:57.277:XRP5:WARN:Log:TypeError: isc_EditDeployPlanForm_0.implicitSaveCallback is not a function
    anonymous({Obj}, {Obj}, {Obj})
    [c]Class.fireCallback(_1=>"isc_EditDeployPlanForm_0.implicitSaveCa..."[ 53], _2=>"dsResponse,data,dsRequest", _3=>[object Array], _4=>{Obj}, _5=>undef)
    [c]Class.fireCallback(_1=>"isc_EditDeployPlanForm_0.implicitSaveCa..."[ 53], _2=>"dsResponse,data,dsRequest", _3=>[object Array])
    unnamed()
    unnamed({Obj}, {Obj}, {Obj})
    anonymous({Obj}, [object Array], {Obj})
    [c]Class.fireCallback(_1=>"isc_EditDeployPlanForm_0.$49z(dsRequest..."[ 60], _2=>"dsResponse,data,dsRequest", _3=>[object Array], _4=>{Obj}, _5=>undef)
    [c]Class.fireCallback(_1=>"isc_EditDeployPlanForm_0.$49z(dsRequest..."[ 60], _2=>"dsResponse,data,dsRequest", _3=>[object Array])
    DataSource.fireResponseCallbacks({Obj}, {Obj}, {Obj}, {Obj})
    DataSource._completeResponseProcessing({Obj}, {Obj}, {Obj}, {Obj}, {Obj})
    DataSource._completeHandleXMLReply({Obj}, {Obj})
    [c]Class.fireCallback(_1=>{Obj}, _2=>"dsResponse", _3=>[object Array], _4=>{Obj}, _5=>undef)
    [c]Class.fireCallback(_1=>{Obj}, _2=>"dsResponse", _3=>[object Array])
    DataSource._completeDSResponseFromXML([object Array], {Obj})
    [c]Class.fireCallback(_1=>{Obj}, _2=>"records", _3=>[object Array], _4=>{Obj}, _5=>undef)
    [c]Class.fireCallback(_1=>{Obj}, _2=>"records", _3=>[object Array])
    DataSource.recordsFromXML([object Array], {Obj})
    DataSource.selectRecords({Obj}, {Obj}, {Obj})
    DataSource.dsResponseFromXML({Obj}, {Obj}, {Obj}, {Obj})
    DataSource._handleXMLReply({Obj}, "<?xml version=\"1.0\" encoding=\"UTF-8\..."[ 539], {Obj}, {Obj})
    [c]Class.fireCallback(_1=>{Obj}, _2=>"xmlDoc,xmlText,rpcResponse,rpcRequest", _3=>[object Array])
    XMLTools._getXMLResponseReply({Obj}, "<?xml version=\"1.0\" encoding=\"UTF-8\..."[ 539], {Obj})
    [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array], _4=>{Obj}, _5=>undef)
    [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array])
    anonymous(callback=>{Obj}, request=>{Obj}, response=>{Obj}, data=>"<?xml version=\"1.0\" encoding=\"UTF-8\..."[ 539])
    unnamed({Obj}, {Obj}, {Obj}, "<?xml version=\"1.0\" encoding=\"UTF-8\..."[ 539])
    [c]RPCManager.fireReplyCallbacks(_1=>{Obj}, _2=>{Obj})
    [c]RPCManager.performOperationReply(_1=>{Obj}, _2=>{Obj})
    RPCManager._performTransactionReply(12)
    [c]RPCManager.performTransactionReply(_1=>12, _2=>"<?xml version=\"1.0\" encoding=\"UTF-8\..."[ 539], _3=>undef)
    anonymous(12, [object XMLHttpRequest])
    [c]Class.fireCallback(_1=>"isc.RPCManager.performTransactionReply(..."[ 67], _2=>"transactionNum,results,wd", _3=>[object Array])
    [c]Comm.performXmlTransactionReply(_1=>12, _2=>[object XMLHttpRequest])
    anonymous([object XMLHttpRequest])
    [c]Class.fireCallback(_1=>"isc.Comm.performXmlTransactionReply(12,..."[ 57], _2=>"xmlHttpRequest", _3=>[object Array], _4=>[object Proxy], _5=>true)
    Comm._fireXMLCallback([object XMLHttpRequest], "isc.Comm.performXmlTransactionReply(12,..."[ 57])
    unnamed([object Event])
    unnamed()

    rgds
    - Joachim

    Leave a comment:


  • Isomorphic
    replied
    Note the only obvious possibility for legitimately getting that error would be that a form saves and while it's waiting for the save to return you destroy() it (directly or indirectly, eg, by creating a new form with the same ID).

    Leave a comment:


  • Isomorphic
    replied
    Is this error perhaps also occurring in compiled mode, but being swallowed? Check the Developer Console, and check the built-in tools in multiple browsers (Firebug for Firefox, Developer Tools (f12) in IE, etc).

    Leave a comment:


  • ssieb
    replied
    I deleted all the files under the war directory except the external java libraries used for the server and the top level html files. Started developer mode and got the exception. Cleared the browser cache, no change. Ran the compile. Developer mode still has an exception, but running it directly works. What other cache or interaction could I be missing?

    It's not a huge issue, since I can just disable that function for now, but it is rather annoying.

    Leave a comment:


  • Isomorphic
    replied
    Spurious issue caused by mixed files. Run a GWT compile and clear your browser cache. If that doesn't correct it, check your project for mixed resources from different builds.

    Leave a comment:


  • ssieb
    started a topic implicit save doesn't work in developer mode

    implicit save doesn't work in developer mode

    Using SmartGWT 2.4 in developer mode in Firefox 3.6.

    Code:
    DynamicForm myForm;
    myForm.setImplicitSave(true);
    This code causes a JS error when the implicit save is triggered.

    com.google.gwt.core.client.JavaScriptException: (TypeError): isc_DynamicForm_7.implicitSaveCallback is not a function

    This doesn't happen using compiled mode.
Working...
X