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

Bug 356451

Summary: Generation errors for widget events
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: greer, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Joseph Vincens CLA 2011-09-01 07:07:53 EDT
I've seen this with button onClick and checkbox
Checkbox.eze$$setInitial
			this.check.getOnKeyUp().appendElement(key);
			this.check.getOnClick().appendElement(click);
			this.span.getOnClick().appendElement(setFocus);
key, click, and setFocus are all functions so they need to be prefixed with 'this.'

If I use a button on a handler the generated code is wrong for the same reason
			this.listAll.getOnClick().appendElement(invokeListAllService);
invokeListAllService is a function so it must be prefixed with 'this.'
Comment 1 Joseph Vincens CLA 2011-09-13 13:50:33 EDT
verified