[Laszlo-dev] applyConstraintMethod problem

Lee Lundrigan llundrigan at laszlosystems.com
Wed Dec 17 11:01:34 PST 2008


Here you are Tucker. Sorry I didn't know I could do this before. I will 
use this method from now on!

Thanks,
Lee
 
---START OF BUG REPORT---
 
LPS VERSION INFORMATION:
URL: 
http://localhost:8080/trunk/diamond-dhtml42/client/future/lzmail/main.lzx?lzt=swf&lzr=swf8&debug=true&lzbacktrace=true 

Version: 4.2.x.0
Release: KrispyKreme Latest
Build: 10708 /Users/Lee/src/svn/openlaszlo/trunk
Date: 2008-12-16T12:43:29-0800
Target: swf8
Runtime: 10.12
OS: Mac OS 10.4.11
 
ERROR MESSAGE: INFO 
@/Users/Lee/src/diamond-dhtml42/client/components/wtscrollbar/wtscrollbar.lzx#9: 
wtscrollbar.applyConstraint is deprecated.  Use 
wtscrollbar.applyConstraintMethod instead
 
ERROR BACKTRACE:
Debug.deprecated @lfc/debugger/LzMessage.lzs#551
  this: «¡lz.LzDebugWindow!#31| #Debug»
  arg  0: «lz.wtscrollbar#21| wtscrollbar»
  arg  1: «lz.node function(3)#22| applyConstraint»
  arg  2: «lz.node function(2)#23| applyConstraintMethod»
applyConstraint @lfc/core/LzNode.lzs#1443
  this: «lz.wtscrollbar#21| wtscrollbar»
  arg  0: 'scrollmax'
  arg  1: «lz.wtscrollbar#21 function(1)#33| 
incubator/scrolledittext.lzx#93/25»
  arg  2: «Array(2)#34| [LzText: , maxheight]»
incubator/scrolledittext.lzx#79/30 @incubator/scrolledittext.lzx#92
  this: «lz.wtscrollbar#21| wtscrollbar»
__LZcallInit @lfc/core/LzNode.lzs#882
  this: «lz.wtscrollbar#21| wtscrollbar»
__LZinstantiationDone @lfc/core/LzNode.lzs#814
  this: «lz.wtscrollbar#21| wtscrollbar»
__LZinstantiationDone @lfc/views/LaszloView.lzs#548
  this: «lz.wtscrollbar#21| wtscrollbar»
makeSomeViews @lfc/services/LzInstantiator.lzs#261
  this: «LzInstantiatorService#45| {..., isdatareplicating: false, 
istrickling: false, halted: false, isimmediate: false, isUpdating: 
false, checkQDel: Delegate for [object Object] calls [type Function] 2, 
...}»
  arg  0: «Array(0)#46| []»
  arg  1: Infinity
createImmediate @lfc/services/LzInstantiator.lzs#283
  this: «LzInstantiatorService#45| {..., isdatareplicating: false, 
istrickling: false, halted: false, isimmediate: false, isUpdating: 
false, checkQDel: Delegate for [object Object] calls [type Function] 2, 
...}»
  arg  0: «lz.wtscrollbar#21| wtscrollbar»
  arg  1: «Array(5)#49| [[object Object], [object Object], [object 
Object], [object Object], [object Object]]»
createChildren @lfc/core/LzNode.lzs#1065
  this: «lz.wtscrollbar#21| wtscrollbar»
  arg  0: «Array(5)#49| [[object Object], [object Object], [object 
Object], [object Object], [object Object]]»
$lzsc$initialize @lfc/core/LzNode.lzs#314
  this: «lz.wtscrollbar#21| wtscrollbar»
  arg  0: 
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor»
  arg  1: «Object#54| {axis: y, scrollattr: pos, scrolltarget: LzText: , 
...}»
  arg  2: null
  arg  3: false
$lzsc$initialize @lfc/views/LaszloView.lzs#62
  this: «lz.wtscrollbar#21| wtscrollbar»
  arg  0: 
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor»
  arg  1: «Object#54| {axis: y, scrollattr: pos, scrolltarget: LzText: , 
...}»
lz.wtscrollbar @lfc/compiler/Class.lzs#297
  this: «lz.wtscrollbar#21| wtscrollbar»
  arg  0: 
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor»
  arg  1: «Object#54| {axis: y, scrollattr: pos, scrolltarget: LzText: , 
...}»
ensurevscrollbar @incubator/scrolledittext.lzx#99
  this: 
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor»
init @incubator/scrolledittext.lzx#110
  this: 
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor»
__LZcallInit @lfc/core/LzNode.lzs#882
  this: 
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor»
__LZclearPreventInit @lfc/core/LzNode.lzs#833
  this: 
«lz.shadowbox_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2441_6#66| 
.messagebody»
apply @lfc/helpers/LzState.lzs#328
  this: «lz.state#69| .plaintextstate»
_toPlainTextMode 
@/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx#1176 

  this: «lz.composewindow#72»
  arg  0: false
_setRichText 
@/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx#1144 

  this: «lz.composewindow#72»
  arg  0: false
_reset 
@/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx#1496 

  this: «lz.composewindow#72»
destroy 
@/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx#1533 

  this: «lz.composewindow#72»
  arg  0: «lz.MasterSlaveIframeWindowManager#79»
_makeExtra 
@/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composepool.lzx#87 

  this: 
«lz.pool_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposepool$2Elzx_5_32#82| 
.composeWindowPool»
  arg  0: 1229540166121
execute @lfc/events/LaszloEvents.lzs#170
  this: «LzDelegate#85| .composeWindowPool._makeExtra()»
  arg  0: 1229540166121
services/LzTimer.lzs#107/13 @lfc/services/LzTimer.lzs#117
  this: «undefined»
 
OBJECT DETAILS:
«lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63#20| 
.plainEditor» {
_dbg_filename: 
'/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx' 

_dbg_lineno: 2464
_enabled: true
_events: [LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent, LzEvent, LzEvent, LzEvent, LzEvent]
_face: ._face
_fgcolor: 0
_field: .inp
_focusable: false
_height: 475
_initcomplete: true
_initialtext: ''
_initialtexty: false
_instanceAttrs: «Object| {..., _dbg_filename: 
/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx, 
_dbg_lineno: 2464, border: 10, editortype: plain, font: Verdana, 
fontsize: 11, height: [object Object], isHTML: false, multiline: true, 
name: ...»
_instanceChildren: null
_mousedownDel: .plainEditor._doMousedown()/* handles 
.plainEditor.onmousedown */
_otherstyledel: .plainEditor._setstyle()/* handles 
«lz._componentmanager».ondefaultstyle */
_parentcomponent: null
_parentform: null
_style: null
_styledel: .plainEditor._usestyle()/* handles «lz.style».onstylechanged */
_vs: wtscrollbar
_width: 1071
_x: 0
_y: 0
addedToParent: true
border: 10
changed: false
classroot: «lz.composewindow»
clip: true
constructor: 
lz.scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63 

doesenter: false
earlySetters: {stretches: 8, clickregion: 7, name: 1, ...}
editortype: 'plain'
enabled: true
focusable: false
font: 'Verdana'
fontname: 'Verdana'
fontsize: 11
hasdefault: false
hassetheight: true
hassetwidth: true
height: 475
ignoreform: false
immediateparent: .content
inp: .inp
isHTML: false
isinited: true
mask: .plainEditor
masked: true
maxlength: null
multiline: true
myDel: .plainEditor.setvscrollwidthfromvisibility()/* handles 
wtscrollbar.onvisible */
name: 'plainEditor'
nodeLevel: 5
on_enabled: .plainEditor.on_enabled
on_parentcomponent: .plainEditor.on_parentcomponent
onborder: .plainEditor.onborder
onchanged: .plainEditor.onchanged
onenabled: .plainEditor.onenabled
onfocus: .plainEditor.onfocus
onfocusable: LzDeclaredEvent
onheight: .plainEditor.onheight
oninit: .plainEditor.oninit
onisdefault: LzDeclaredEvent
onmousedown: .plainEditor.onmousedown
onstyle: .plainEditor.onstyle
onvalue: LzDeclaredEvent
onvscrollwidth: .plainEditor.onvscrollwidth
onwidth: .plainEditor.onwidth
parent: .messagebody
password: false
pattern: null
placement: null
rollbackvalue: ''
sprite: LzSprite for 
scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63 
named "plainEditor" [1071.00 x 475.00]*[1.00 0 0.00, 0 1.00 0.00, 0 0 1]
style: «lz.style»
styleable: true
submit: true
submitname: 'plainEditor'
subnodes: [view_$incubator$2Fscrolledittext$2Elzx_15_58  name: _face , 
LzText: , wtscrollbar]
subviews: [view_$incubator$2Fscrolledittext$2Elzx_15_58  name: _face , 
LzText: , wtscrollbar]
text: ''
value: ''
vscrollbarclassname: 'wtscrollbar'
vscrollwidth: 0
width: 1071
 x: 0
 y: 0
}
 
«lz.wtscrollbar#21| wtscrollbar» {
_dbg_filename: 'base/basescrollbar.lzx'
_dbg_lineno: 112
_enabled: false
_events: [LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent, LzEvent, LzEvent]
_focusable: false
_height: 475
_initcomplete: true
_instanceAttrs: {axis: y, scrollattr: pos, scrolltarget: LzText: , ...}
_instanceChildren: null
_mousedownDel: wtscrollbar._doMousedown()/* handles 
wtscrollbar.onmousedown */
_mwActivateDel: wtscrollbar.activateMouseWheel()/* handles .inp.onfocus */
_mwDeactivateDel: wtscrollbar.deactivateMouseWheel()/* handles 
.inp.onblur */
_mwUpdateDel: wtscrollbar.mousewheelUpdate()/* handles «LzKeysService| 
{downKeysArray: -1, onmou...».onmousewheeldelta */
_otherstyledel: wtscrollbar._setstyle()/* handles .plainEditor.onstyle */
_parentcomponent: .plainEditor
_style: null
_styledel: wtscrollbar._usestyle()/* handles «lz.style».onstylechanged */
_visible: false
_width: 16
_x: 1055
addedToParent: true
axis: 'y'
bgcolor: 16777215
bottomarrow: .bottomarrow
bottomArrowHeight: 15
clipSizeDel: wtscrollbar.scrollbarSizeUpdate()/* handles 
.plainEditor.onheight */
constructor: lz.wtscrollbar
disabledbgcolor: null
doesenter: false
earlySetters: {stretches: 8, clickregion: 7, name: 1, ...}
enabled: true
focusable: false
focusview: .inp
hasdefault: false
hassetheight: true
hassetwidth: true
height: 475
heightConstraint: .heightConstraint
heightDel: wtscrollbar.scrollbarSizeUpdate()/* handles 
.scrolltrack.onheight */
immediateparent: .plainEditor
init: incubator/scrolledittext.lzx#79/30
isinited: true
mask: .plainEditor
mousewheelactive: false
mousewheelevent_off: 'onblur'
mousewheelevent_on: 'onfocus'
nodeLevel: 6
on_enabled: wtscrollbar.on_enabled
on_parentcomponent: wtscrollbar.on_parentcomponent
onenabled: wtscrollbar.onenabled
onfocusable: LzDeclaredEvent
onheight: wtscrollbar.onheight
onisdefault: LzDeclaredEvent
onmousedown: wtscrollbar.onmousedown
onothersb: wtscrollbar.onothersb
onscrollable: wtscrollbar.onscrollable
onscrollmax: wtscrollbar.onscrollmax
onstyle: LzDeclaredEvent
onvisible: wtscrollbar.onvisible
onwidth: wtscrollbar.onwidth
othersb: null
otherSizeAxis: 'width'
pagesize: null
parent: .plainEditor
placement: null
scrollable: false
scrollattr: 'pos'
scrollmax: 455
scrolltarget: .inp
scrolltrack: .scrolltrack
sizeAxis: 'height'
sprite: LzSprite for wtscrollbar [16.00 x 475.00]*[1.00 0 1055.00, 0 
1.00 0.00, 0 0 1]
stepsize: 13
style: «lz.style»
styleable: true
subnodes: «Array(5)| [state  name: heightConstraint , state  name: 
widthConstraint , 
basescrollarrow_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwtscrollbar$2Fwtscrollbar$2Elzx_71_7 
named "toparrow", view_$$2FUsers$2FLee$2Fsrc$2Fdiamond$...»
subviews: «Array(3)| 
[basescrollarrow_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwtscrollbar$2Fwtscrollbar$2Elzx_71_7 
named "toparrow", 
view_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwtscrollbar$2Fwtscrollbar$2El...» 

targetHeightDel: wtscrollbar.scrollbarSizeUpdate()/* handles 
wtscrollbar.onscrollmax */
targetPosDel: wtscrollbar.targetPosUpdate()/* handles .inp.onpos */
text: ''
thumb: .thumb
thumbgripperheight: -1
thumbgripperX: 2
thumbmin: 14
toparrow: .toparrow
topArrowHeight: 15
usemousewheel: true
usetargetsize: false
visibility: 'hidden'
visible: false
width: 16
widthConstraint: .widthConstraint
 x: 1055
}
 
«¡lz.LzDebugWindow!#31| #Debug» {
_dbg_filename: 'debugger/debugger.lzx'
_dbg_lineno: 106
_events: [LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent]
_height: 389
_instanceAttrs: {}
_instanceChildren: null
_visible: true
_width: 1189
_x: 41
_y: 284
addedToParent: true
atFreshLine: true
atPrompt: false
autoscroll: true
bottom: .bottom
closeable: true
commandhistory: [Debug.bugReport()]
commandhistory_ptr: 1
consoleRemote: false
constructor: lz.LzDebugWindow
debuggerBorderWidth: 5
drag: .drag
earlySetters: {stretches: 8, clickregion: 7, name: 1, ...}
evalloader: undefined (loading)
focustrap: true
font: 'monospace'
fontname: 'monospace'
fontsize: 11
fontstyle: 'plain'
hassetheight: true
hassetwidth: true
height: 389
id: 'Debug'
immediateparent: This is the canvas
initstage: 'immediate'
inspectDel: #Debug.inspectObject()/* handles «LzGlobalMouseService| 
{..., onmousemove:...».onmousedown */
isinited: true
isLoading: false
lastobj: null
lastpart: null
layouts: [LzLayout for view LzDebugWindow  id: Debug ]
lineheight: 18
mask: This is the canvas
middle: .middle
minimized: false
moveCaretDel: #Debug.sendCaretToEOL()
nodeLevel: 1
objseq: 182
onaddsubview: #Debug.onaddsubview
onheight: #Debug.onheight
oninit: #Debug.oninit
onremovesubview: #Debug.onremovesubview
onsmallInputAreaHeight: #Debug.onsmallInputAreaHeight
onwidth: #Debug.onwidth
onx: #Debug.onx
ony: #Debug.ony
options: {ignorelayout: true}
parent: This is the canvas
persist: {data: [object Object]}
pixellock: true
placement: null
printLength: 256
remoteDebug: false
resizable: true
resize: .resize
savedHeight: 125
savedInputAreaHeight: 53
savedWidth: 340
savedXPos: 10
savedYPos: 10
smallInputAreaHeight: 34
solo_mode: false
sprite: LzSprite for LzDebugWindow  id: Debug  [1189.00 x 389.00]*[1.00 
0 41.00, 0 1.00 284.00, 0 0 1]
subnodes: «Array(12)| [command__dbg_cmd_eval  id: _dbg_cmd_eval , 
command__dbg_cmd_hist_prev  id: _dbg_cmd_hist_prev , 
command__dbg_cmd_hist_next  id: _dbg_cmd_hist_next , 
command__dbg_cmd_complete_tab  id: _dbg_cmd_complete_tab , dragstate  
name: drag , resi...»
subviews: «Array(5)| [view_$debugger$2Fdebugger$2Elzx_691_49  name: top 
, view_$debugger$2Fdebugger$2Elzx_746_92  name: middle , 
view_$debugger$2Fdebugger$2Elzx_786_26  name: bottom , 
debugger_shadow_bottom_$debugger$2Fdebugger$2Elzx_907_61 , 
debugger_shadow_...»
title: ''
top: .top
visibility: 'visible'
width: 1189
 x: 41
 y: 284
}
 
«LzInstantiatorService#45| {..., isdatareplicating: false, istrickling: 
false, halted: false, isimmediate: false, isUpdating: false, checkQDel: 
Delegate for [object Object] calls [type Function] 2, ...}» {
checkQDel: «LzInstantiatorService| {..., isdatarepli...».checkQ()
constructor: LzInstantiatorService
datareplq: []
halted: false
isdatareplicating: false
isimmediate: false
istrickling: false
isUpdating: false
tricklingQ: []
}
 
«lz.shadowbox_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2441_6#66| 
.messagebody» {
_dbg_filename: 
'/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx' 

_dbg_lineno: 2458
_events: [LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent]
_height: 475
_instanceAttrs: {..., _dbg_filename: 
/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx, 
_dbg_lineno: 2441, height: [object Object], name: messagebody, ..., 
visible: [object Object], y: [object Object]}
_instanceChildren: null
_visible: false
_width: 1071
_y: 69
addedToParent: true
bgcolor: 16777215
classroot: «lz.composewindow»
constructor: 
lz.shadowbox_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2441_6 

content: .content
defaultplacement: 'content'
earlySetters: {stretches: 8, clickregion: 7, name: 1, ...}
edgecolor: 14277081
edgecolor_tl: null
focusable: false
hassetheight: true
hassetwidth: true
height: 475
immediateparent: .content
isinited: true
mask: .content
name: 'messagebody'
nodeLevel: 3
ondestroy: .messagebody.ondestroy
ondragdrop: .messagebody.ondragdrop
ondragout: .messagebody.ondragout
ondragover: .messagebody.ondragover
onedgecolor: .messagebody.onedgecolor
onedgecolor_tl: .messagebody.onedgecolor_tl
onheight: .messagebody.onheight
oninit: .messagebody.oninit
onmousetrackout: .messagebody.onmousetrackout
onmousetrackover: .messagebody.onmousetrackover
onmousetrackup: .messagebody.onmousetrackup
onshadowleft: .messagebody.onshadowleft
onsourcedragend: .messagebody.onsourcedragend
onsourcedragstart: .messagebody.onsourcedragstart
onwidth: .messagebody.onwidth
ony: .messagebody.ony
parent: «lz.composewindow»
placement: null
plainEditor: .plainEditor
plaintextstate: .plaintextstate
richEditor: «undefined»
richtextstate: .richtextstate
shadowleft: false
sprite: LzSprite for 
shadowbox_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2441_6  
name: messagebody  [1071.00 x 475.00]*[1.00 0 0.00, 0 1.00 69.00, 0 0 1]
subnodes: «Array(8)| [view_$incubator$2Fshadowbox$2Elzx_27_72  name: 
content , view_$incubator$2Fshadowbox$2Elzx_31_41 , 
view_$incubator$2Fshadowbox$2Elzx_33_41 , 
view_$incubator$2Fshadowbox$2Elzx_38_41 , 
view_$incubator$2Fshadowbox$2Elzx_41_41 , view , view_...»
subviews: «Array(8)| [view_$incubator$2Fshadowbox$2Elzx_27_72  name: 
content , view_$incubator$2Fshadowbox$2Elzx_31_41 , 
view_$incubator$2Fshadowbox$2Elzx_33_41 , 
view_$incubator$2Fshadowbox$2Elzx_38_41 , 
view_$incubator$2Fshadowbox$2Elzx_41_41 , view , view_...»
visibility: 'hidden'
visible: false
width: 1071
 y: 69
}
 
«lz.state#69| .plaintextstate» {
_instanceAttrs: {..., _dbg_filename: 
/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx, 
_dbg_lineno: 2458, name: plaintextstate, ..., pooling: true}
_instanceChildren: [[object Object]]
applied: true
appliedChildren: 
[scrolledittext_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposewindow$2Elzx_2464_63 
named "plainEditor"]
classroot: «lz.composewindow»
constructor: lz.state
earlySetters: {..., name: 1}
handlerMethodNames: {}
heldArgs: {_dbg_filename: 
/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx, 
_dbg_lineno: 2458, ...}
immediateparent: .content
isapplied: true
isinited: true
name: 'plaintextstate'
nodeLevel: 5
parent: .messagebody
placement: null
pooling: true
subh: [[object Object]]
}
 
«lz.composewindow#72» {
_actionAfterAutoSaveDraft: ''
_autoSaveDraftDel: «lz.composewindow»._autoSaveDraft()
_autoSaveDraftDoneDel: «lz.composewindow»._autoSaveDraftDone()
_autoSaveDraftRunning: false
_autoSaveDraftTimerRunning: false
_ccList: ''
_dbg_filename: 
'/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composewindow.lzx' 

_dbg_lineno: 18
_defaultTitle: 'NEW MESSAGE'
_dimmer: ._dimmer
_doDragCheckDel: null
_dragDel: null
_dragging: false
_events: [LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, LzEvent, 
LzEvent, LzEvent, LzEvent]
_height: 600
_instanceAttrs: {app: 
application_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fmailapp$2Elzx_22_2  
name: lzmail  id: lzmail }
_instanceChildren: null
_lastCursorPosition: 0
_lastSelectionPosition: -1
_loadComposeMessageCallbackDel: 
«lz.composewindow»._loadComposeMessageCallback()
_markTimeWhenFirstVisibleDel: null
_mustHaveSubject: true
_opaqueToDrop: true
_originatingAccount: null
_resizeDel: null
_saveDraftDel: «lz.composewindow»._saveDraft()
_sendMailAfterSpellCheckDel: «lz.composewindow»._sendMailAfterSpellCheck()
_sendMailDel: «lz.composewindow»._sendMail()
_setIsDraggableOnInit: true
_showSpellCheckToolbarDel: «lz.composewindow»._showSpellCheckToolbar()
_visible: false
_width: 1081
_windowState: «lz.WindowState»
_x: 182
_y: NaN
action: ''
active: false
addedToParent: true
app: #lzmail
appname: 'lzmail'
attachinput: .attachments
attachRecordingDialog: 'You recorded a voicemail message, but have not 
attached it to the email.  Would you like to attach it now?'
autoSavedDraftMessage: 'Draft auto-saved at {0}'
autosaveuid: ''
ccLabel: 'Cc:'
changed: false
clickable: true
clip: true
close: .close
constructor: lz.composewindow
content: .content
defaultplacement: 'content'
defaultSendMailErrorMessage: 'An error occurred while sending.'
distanceBeforeDrag: 10
docked: false
dockitem: .mydockitem
dockitemclass: 'applicationdockitem'
dockItemLabel: 'NEW MESSAGE'
dontSaveDraftLabel: 'Dont Save'
earlySetters: {stretches: 8, clickregion: 7, name: 1, ...}
enabled: false
errorAttachingFileMessage: "Error reading attached file ' {0} '."
everchanged: false
focus: true
focused: false
fontEmbeddingText: "<font face='Verdana' size='11'> {0} </font>"
footerHeight: 20
fromEmailAddr: .fromEmailAddr
hassetheight: true
hassetwidth: true
header: .header
headerHeight: 25
height: 600
hideWindowAnimation: .hideWindowAnimation
horizontalrule: .horizontalrule
iconvisible: true
iframeActive: false
immediateparent: This is the canvas
insertSignatureLabel: 'Insert Signature'
insetBottom: 8
insetLeft: 3
insetRight: 7
insetTop: 3
isDocking: false
isDraggable: true
isinited: true
ismainwindow: false
isrichtext: false
isUndocking: false
loadingMessage: 'LOADING MESSAGE...'
manager: «lz.MasterSlaveIframeWindowManager»
markWhenVisibleLabel: ''
mask: «lz.composewindow»
masked: true
maxheight: Infinity
maximize: .maximize
maximized: false
maxwidth: Infinity
messagebody: .messagebody
messageSentTooSoonMessage: 'Message sent too soon after another message 
was sent.'
minheight: 100
minimize: .minimize
minwidth: 505
msg_attachments: []
msg_bcc: ''
msg_body: ''
msg_cc: ''
msg_from: ''
msg_origsubtype: ''
msg_subject: ''
msg_subtype: ''
msg_to: ''
msgHead: null
multipleAudioRecordMessage: 'Only one voicemail message can be attached 
to an email at a time.  Remove the attached recording before starting a 
new one.'
mypanel: .mypanel
nodeLevel: 1
onactive: «lz.composewindow».onactive
onBringToFront: «lz.composewindow».onBringToFront
ondestroy: «lz.composewindow».ondestroy
ondocked: «lz.composewindow».ondocked
ondockItemLabel: «lz.composewindow».ondockItemLabel
onheight: «lz.composewindow».onheight
oniconvisible: «lz.composewindow».oniconvisible
oninit: «lz.composewindow».oninit
onisrichtext: LzDeclaredEvent
onmanager: «lz.composewindow».onmanager
onmaximized: «lz.composewindow».onmaximized
onmouseout: «lz.composewindow».onmouseout
onSendBehind: «lz.composewindow».onSendBehind
onSendInFrontOf: «lz.composewindow».onSendInFrontOf
onSendToBack: «lz.composewindow».onSendToBack
onshowclose: «lz.composewindow».onshowclose
onshowdock: «lz.composewindow».onshowdock
onshowmaximize: «lz.composewindow».onshowmaximize
onshowresize: «lz.composewindow».onshowresize
onskin: «lz.composewindow».onskin
ontitle: «lz.composewindow».ontitle
ontitlevisible: «lz.composewindow».ontitlevisible
onvisible: «lz.composewindow».onvisible
onwidth: «lz.composewindow».onwidth
onx: «lz.composewindow».onx
ony: «lz.composewindow».ony
onz: «lz.composewindow».onz
parent: This is the canvas
placement: null
plc_footer: .plc_footer
plc_header: .plc_header
prefixOnForwardLabel: 'FW:'
prefixOnReplyLabel: 'RE:'
quotaExceededMessage: 'You have exceeded your quota. The message was not 
saved to your Sent folder.'
quotedMessageText: '\n\n\n-------- Begin forwarded message 
--------\nSubject: {0}\nDate: {1}\nFrom: {2}\n{3}{4}\n'
registered: false
replyMessagePrefixDateText: '\n\n\nOn {0} at {1} , {2} wrote:\n\n'
replyMessagePrefixText: '\n\n\n{0} wrote:\n\n'
resizebtn: .resizebtn
rootFolder: null
rootMessageUID: ''
saveDraftLabel: 'Save As Draft'
saveDraftMessage: 'Save this message as a draft?'
showclose: true
showdock: true
showhandcursor: false
showmaximize: true
showresize: true
signatureComboBox: .signatureComboBox
skin: ''
spellpanel: .spellpanel
sprite: LzSprite for composewindow  [1081.00 x 600.00]*[1.00 0 182.00, 0 
1.00 NaN.00, 0 0 1]
statusMessage: .statusMessage
subnodes: «Array(7)| [WindowState , 
view_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwindow$2Fplain$2Fplainwindow$2Elzx_326_26  
name: mypanel , 
view_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwindow$2Fplain$2Fplain...» 

subviews: «Array(5)| 
[view_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwindow$2Fplain$2Fplainwindow$2Elzx_326_26  
name: mypanel , 
view_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fcomponents$2Fwindow$2Fplain$2Fplainwindow$2Elzx_3...» 

supportsIframe: false
timeoutErrorMessage: 'Timed out sending message with attachments.'
title: 'NEW MESSAGE'
titlevisible: true
toFieldValidationFailMessage: 'You must fill in the To field to send 
this message'
toLabel: 'To:'
toolbar: .toolbar
toolbartop: .toolbartop
uploadedFileNotFoundMessage: 'An error occurred while uploading 
attachments.'
uploader: .uploader
userSuspendedMessage: 'Your account is suspended. Please contact the 
administrator.'
visibility: 'hidden'
visible: false
width: 1081
withoutSubjectMessage: 'Send message without a Subject?'
 x: 182
 y: NaN
}
 
«lz.pool_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposepool$2Elzx_5_32#82| 
.composeWindowPool» {
_dbg_filename: 
'/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composepool.lzx'
_dbg_lineno: 5
_instanceAttrs: {_dbg_filename: 
/Users/Lee/src/diamond-dhtml42/client/applib/mail/compose/composepool.lzx, 
_dbg_lineno: 5, _lastPosition: null, _makeExtraDel: [object Object], 
_makeExtraDelay: 100, _startupMakeExtraDelay: 10000, name: 
composeWindowPool}
_instanceChildren: null
_lastPosition: {x: 182, y: NaN, width: 1081, height: 600}
_makeExtraDel: .composeWindowPool._makeExtra()
_makeExtraDelay: 100
_pool: [composewindow ]
_startupMakeExtraDelay: 10000
constructor: 
lz.pool_$$2FUsers$2FLee$2Fsrc$2Fdiamond$2Ddhtml42$2Fclient$2Fapplib$2Fmail$2Fcompose$2Fcomposepool$2Elzx_5_32 

earlySetters: {..., name: 1}
immediateparent: #lzmail
isinited: true
name: 'composeWindowPool'
nodeLevel: 2
parent: #lzmail
placement: null
}
 
«LzDelegate#85| .composeWindowPool._makeExtra()» {
 c: .composeWindowPool
constructor: LzDelegate
 m: _makeExtra
}
 
---END OF BUG REPORT---
lzx>
P T Withington wrote:
> It will be _really_ helpful if we could get debugger bug reports to 
> help us track these down.  We'd have a lot more context to examine.
>
> How to do that:
>
> 1) Enable backtrace
> 2) Provoke the problem
> 3) Inspect (click on) the message that you are concerned with.  (It 
> can be any level of message, it does _not_ have to be an error).
> 4) Enter `Debug.bugReport()` in the debugger eval window.
> 5) Copy the output to email or the Jira bug.
>
> Thanks!
>
> On 2008-12-16, at 20:36EST, Lee Lundrigan wrote:
>
>> Hi guys,
>>
>> I have this debug warning happening against applyConstraintMethod.
>>
>> Here is the code:
>> 6 <class name="wtscrollbar" extends="basescrollbar"
>> 7    visible="${this.scrollable &amp;&amp; (this.height > 21)}"
>> 8    axis="y" width="16"
>> 9 >
>>
>> and here is what the debugger is telling me:
>> @/Users/Lee/src/diamond-dhtml42/client/components/wtscrollbar/wtscrollbar.lzx#8: 
>> wtscrollbar.applyConstraint is deprecated.  Use 
>> wtscrollbar.applyConstraintMethod instead
>>
>> I am assuming this problem is referring to the constraint being 
>> placed on visible but neither Maynard nor I could see why this isn't 
>> working...maybe you guys could shed some light on this for us?
>>
>> Thanks,
>> Lee
>




More information about the Laszlo-dev mailing list