Announcement

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

    HTMLFlow causes crash

    Hi,

    I used all that with SmartGWT 2.3 - and now i tried to Upgrade to SmartGWT 2.4 !

    I use a HTMLFlow within a VLayout - and everything worked!
    Now after upgrading i get the following error:

    For all non German speaking - in the Error it says "The Object is not supporting that Property or Feature" ....
    Code:
     14:19:47.335:WARN:Log:Error:     'Das Objekt unterstützt diese Eigenschaft oder Methode nicht.'     in http://127.0.0.1:8888/cmtclient/sc/modules/ISC_DataBinding.js     at line 2242 
        HTMLFlow.modifyContent()
            "this.$73w()"     Canvas.$qa()     Canvas.draw(_1=>undef)     Class.invokeSuper(_1=>null, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)     Class.Super(_1=>"draw", _2=>Obj{length:0}, _3=>undef)     HTMLFlow.draw()     ** recursed on Class.invokeSuper 
    com.smartgwt.client.core.JsObject$SGWT_WARN: 14:19:47.335:WARN:Log:Error:     'Das Objekt unterstützt diese Eigenschaft oder Methode nicht.'     in http://127.0.0.1:8888/cmtclient/sc/modules/ISC_DataBinding.js     at line 2242 
        HTMLFlow.modifyContent()
            "this.$73w()"     Canvas.$qa()     Canvas.draw(_1=>undef)     Class.invokeSuper(_1=>null, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)     Class.Super(_1=>"draw", _2=>Obj{length:0}, _3=>undef)     HTMLFlow.draw()     ** recursed on Class.invokeSuper 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    thats the code part
    Code:
    		VLayout layout = new VLayout();
    		layout.setRedrawOnResize(true);
    		HTMLFlow line = new HTMLFlow();
    		line.setRedrawOnResize(true);
    		line.setContentsType(ContentsType.FRAGMENT);
    		line.setContents("<hr>");
                    layout.setMembers(line);

    #2
    See the patch here.

    Comment


      #3
      thanks - that solved it !

      Comment

      Working...
      X