Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363326

Summary: dojo widget Menu can not trigger event onWidgetLoad
Product: z_Archived Reporter: Yu Hao <yuhaodl>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, hjiyong, svihovec, yuhaodl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yu Hao CLA 2011-11-09 10:19:34 EST
Build Identifier: 201111080901

dojo Menu can not trigger onContextMenu in preview mode of WebKit 

Reproducible: Always
Comment 1 Xiao Bin Chen CLA 2011-11-09 21:49:39 EST
works for me
Comment 2 Yu Hao CLA 2011-11-10 08:16:48 EST
Verified in nightly build 201111092101, this issue was still there. Do further testing. In deploy mode, it works correctly in FF and IE. But the onWidgetLoad can not be triggered in Chrome
Comment 3 Brian Svihovec CLA 2011-11-16 16:49:31 EST
Does this happen in RBD with Chrome?
Comment 4 Brian Svihovec CLA 2011-11-16 16:57:35 EST
I don't think anyone should be using onWidgetLoad, or if they can use it, it's not likely that people will use it.  Is that true Ji Yong?
Comment 5 Xiao Bin Chen CLA 2011-11-16 21:04:52 EST
This defect was fixed. Actually, dojomenu's onWidgetLoad event does not work in ff chrome both.

The reason for the problem is before we call "render"(happens when dojomenu constructor) fucntion ,the onWidgetLoad function was not assigned. 

We need to let the "render" action happens after the onWidgetLoad field was initialized.
Comment 6 Yu Hao CLA 2011-11-17 20:52:22 EST
Verified in 201111170946