I have trouble debugging a problem with a ListGrid.
I do development with FF under Linux, now I checked out app from FF under windows, and some components could not be drawn.
Instead, eclipse console says this:
And the developer console says this:
The component in question is a heavily customized ListGrid.
In the past few months, I had lots and lots of problems figuring out the right order of things to do when configuring my ListGrid, and until now, I thought that I have finally nailed it, but it seems I'm still not quite there..
* * *
So, the basic question is this: where can I find a comprehensive guide about the recommended order of configuration steps?
Some stuff is done immediately, some when the ListGrid is added to the layout, some when the DS is bound, some when the widget is actually drawn... it _almost_ feels hopeless.
* * *
Since I do not have a windows computer at home, I can not easily determine the cause by remove stuff until the problem is gone, so instead of this, I am asking this: what kind of error is likely to cause this:
resizing fields? reordering fields? hiding fields?
When I am supposed to do these?
When I am _not_ supposed to do these?
Thank you for your help, and sorry for the unclear question and the rant.
I do development with FF under Linux, now I checked out app from FF under windows, and some components could not be drawn.
Instead, eclipse console says this:
Code:
Uncaught JavaScript exception [_2 is null] in http://localhost:8888/szolorg/sc/modules/ISC_Grids.js, line 2097
Code:
22:51:06.983:INFO:Log:initialized 22:51:07.173:WARN:AutoObserver:Use addInterfaceProperties() to add methods to interface [Class AutoObserver] 22:51:12.174:INFO:Log:isc.Page is loaded 22:51:39.386:TMR7:WARN:drawing:isc_OID_139:draw() called on widget with current drawn state: handleDrawn, ignoring. Canvas.readyToDraw() Canvas.draw(_1=>undef) anonymous() Layout.layoutChildren(_1=>"resized", _2=>0, _3=>35) Canvas.$t1() Canvas.resizeBy(_1=>0, _2=>35, _3=>undef, _4=>undef) Canvas.resizeTo(_1=>942, _2=>641, _3=>undef, _4=>undef) Layout.resizeMembers(_1=>Array[3], _2=>Array[3], _3=>true) ** recursed on Layout.layoutChildren 22:51:39.389:TMR7:WARN:drawing:isc_OID_139:draw() called on widget with current drawn state: handleDrawn, ignoring. Canvas.readyToDraw() Canvas.draw(_1=>undef) anonymous() Layout.layoutChildren(_1=>"resized", _2=>0, _3=>35) Canvas.$t1() Canvas.resizeBy(_1=>0, _2=>35, _3=>undef, _4=>undef) Canvas.resizeTo(_1=>942, _2=>641, _3=>undef, _4=>undef) Layout.resizeMembers(_1=>Array[3], _2=>Array[3], _3=>true) ** recursed on Layout.layoutChildren
In the past few months, I had lots and lots of problems figuring out the right order of things to do when configuring my ListGrid, and until now, I thought that I have finally nailed it, but it seems I'm still not quite there..
* * *
So, the basic question is this: where can I find a comprehensive guide about the recommended order of configuration steps?
Some stuff is done immediately, some when the ListGrid is added to the layout, some when the DS is bound, some when the widget is actually drawn... it _almost_ feels hopeless.
* * *
Since I do not have a windows computer at home, I can not easily determine the cause by remove stuff until the problem is gone, so instead of this, I am asking this: what kind of error is likely to cause this:
resizing fields? reordering fields? hiding fields?
When I am supposed to do these?
When I am _not_ supposed to do these?
Thank you for your help, and sorry for the unclear question and the rant.
Comment