Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356451 - Generation errors for widget events
Summary: Generation errors for widget events
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 07:07 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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