SmartClient Version: v8.3p_2013-06-14/PowerEdition Development Only (built 2013-06-14)
in the 'simpleCalendar' sample, month view, if you click on the 'dayHeader' cell, first time works, then re-select 'month' tab and re-click 'dayHeader' cell and you'll got this error:
also note, in the developer console, when loading the sample:
maybe is related with the tabset tabBarControls which are appearing in the top left corner of the viewport?
in the 'simpleCalendar' sample, month view, if you click on the 'dayHeader' cell, first time works, then re-select 'month' tab and re-click 'dayHeader' cell and you'll got this error:
Code:
18:08:08.686:MUP0:WARN:Log:TypeError: Cannot read property 'date2' of undefined
Stack from error.stack:
Calendar._getDateFromPoint()
Calendar.getCellDate()
DaySchedule.getBaseStyle()
DaySchedule.getCellStyle()
eval()
GridRenderer._updateCellStyle()
[a]MathFunction.invokeSuper()
GridBody._updateCellStyle()
GridRenderer.setRowStyle()
GridRenderer.setCellStyle()
Code:
18:07:49.359:INFO:Log:initialized
18:07:49.657:WARN:ExampleTree:exampleTree:The node titled 'Edit Pane' references a non-existant id: tilePalette
18:07:49.657:WARN:ExampleTree:exampleTree:The node titled 'Coordinate Persistence' references a non-existant id: automaticPersistence
18:07:49.658:INFO:Log:isc.Page is loaded
18:07:49.927:WARN:drawing:featureExplorer_exampleViewer_tabBarControlLayout:Attempt to draw child of an undrawn parent - ignoring
[a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.readyToDraw()
Canvas.draw(_1=>undef)
TabSet.showControls()
TabSet.fixLayout()
TabSet.$54m()
[o]TabBar.childResized(_11=>[Canvas ID:featureExplorer_exampleViewer_tabBar_baseLine], _12=>1338, _13=>-2, _14=>undef)
Canvas.$5y(deltaX=>1338, deltaY=>-2, reason=>undef)
Canvas.$t1(_1=>undef)
Canvas.moveBy(_1=>0, _2=>23, _3=>undef, _4=>true)
Canvas.moveTo(_1=>0, _2=>23, _3=>undef, _4=>true)
Canvas.setRect(_1=>0, _2=>23, _3=>1438, _4=>3, _5=>undef)
TabBar.fixLayout()
TabBar.layoutChildren(_1=>"resized", _2=>-2, _3=>0, _4=>undef)
** recursed on Canvas.$t1
18:07:49.954:WARN:drawing:featureExplorer_exampleViewer_tabBarControlLayout:Attempt to draw child of an undrawn parent - ignoring
[a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.readyToDraw()
Canvas.draw(_1=>undef)
TabSet.showControls()
TabSet.fixLayout()
TabSet.layoutChildren(_1=>"resized", _2=>1338, _3=>0, _4=>undef)
Canvas.$t1(_1=>undef)
Canvas.resizeBy(_1=>1338, _2=>0, _3=>undef, _4=>undef, _5=>undef)
Canvas.resizeTo(_1=>1438, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.setWidth(_1=>1438)
Layout.setMemberBreadth(_1=>[ExampleViewer ID:featureExplorer_exampleViewer], _2=>1438)
Layout.autoSetBreadth(_1=>[ExampleViewer ID:featureExplorer_exampleViewer])
Layout.addMembers(_1=>Array[1], _2=>3, _3=>true)
SectionStack.$6m(_1=>Array[1], _2=>false, _3=>true, _4=>undef)
SectionStack.expandSection(_1=>[SectionHeader ID:isc_SectionHeader_1], _2=>undef)
SectionStack.addSections(_1=>Obj{name:section_exampleViewer}, _2=>undef, _3=>undef)
SectionStack.addSection(_1=>Obj{name:section_exampleViewer}, _2=>undef)
FeatureExplorer.initWidget(Obj{ID:featureExplorer}, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef)
Canvas.init(_1=>Obj{ID:featureExplorer}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
[a]MathFunction.completeCreation(_1=>Obj{ID:featureExplorer}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
[c]Class.create(_1=>Obj{ID:featureExplorer}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
showExplorer()
[c]Class.evaluate(_1=>"showExplorer()", _2=>null, _3=>false, _4=>undef, _5=>undef, _6=>undef)
anonymous(_1=>"showExplorer()", _2=>undef)
anonymous(_1=>"showExplorer()")
anonymous(_1=>"../../locales/frameworkMessages.properti..."[70])
18:07:50.075:WARN:drawing:featureExplorer_exampleViewer_tabBarControlLayout:Attempt to draw child of an undrawn parent - ignoring
[a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.readyToDraw()
Canvas.draw(_1=>undef)
TabSet.showControls()
TabSet.fixLayout()
TabSet.layoutChildren(_1=>"resized", _2=>-271, _3=>0, _4=>undef)
Canvas.$t1(_1=>undef)
Canvas.resizeBy(_1=>-271, _2=>0, _3=>undef, _4=>undef, _5=>undef)
Canvas.resizeTo(_1=>1167, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.setWidth(_1=>1167)
Layout.setMemberBreadth(_1=>[ExampleViewer ID:featureExplorer_exampleViewer], _2=>1167)
Layout.autoSetBreadth(_1=>[ExampleViewer ID:featureExplorer_exampleViewer])
Layout.$2w()
Layout.drawChildren()
** recursed on Canvas.draw
18:07:50.076:WARN:drawing:featureExplorer_exampleViewer_tabBarControlLayout:Attempt to draw child of an undrawn parent - ignoring
[a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.readyToDraw()
Canvas.draw(_1=>undef)
TabSet.showControls()
TabSet.fixLayout()
TabSet.$54m()
[o]TabBar.childResized(_11=>[Canvas ID:featureExplorer_exampleViewer_tabBar_baseLine], _12=>-271, _13=>0, _14=>undef)
Canvas.$5y(deltaX=>-271, deltaY=>0, reason=>undef)
Canvas.$t1(_1=>undef)
Canvas.moveBy(_1=>0, _2=>0, _3=>undef, _4=>true)
Canvas.moveTo(_1=>0, _2=>23, _3=>undef, _4=>true)
Canvas.setRect(_1=>0, _2=>23, _3=>1167, _4=>3, _5=>undef)
TabBar.fixLayout()
TabBar.layoutChildren(_1=>"resized", _2=>-271, _3=>0, _4=>undef)
** recursed on Canvas.$t1
18:07:50.082:WARN:drawing:featureExplorer_exampleViewer_tabBarControlLayout:Attempt to draw child of an undrawn parent - ignoring
[a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
Canvas.readyToDraw()
Canvas.draw(_1=>undef)
TabSet.showControls()
TabSet.fixLayout()
TabSet.layoutChildren(_1=>"resized", _2=>0, _3=>569, _4=>undef)
Canvas.$t1(_1=>undef)
Canvas.resizeBy(_1=>0, _2=>569, _3=>undef, _4=>undef, _5=>undef)
Canvas.resizeTo(_1=>1167, _2=>669, _3=>undef, _4=>undef, _5=>undef)
Layout.resizeMembers(_1=>Array[4], _2=>Array[4], _3=>false)
Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
Layout.drawChildren()
** recursed on Canvas.draw
Comment