Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353027 - Function invocation in handlers produces an exception
Summary: Function invocation in handlers produces an exception
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: Scott Greer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 14:16 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:14 EST (History)
0 users

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-07-25 14:16:18 EDT
ReferenceError: testF2 is not defined
    at [object Object].start (file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/generatedJavaScript/handlers/Handler1.js:14:4)
    at new <anonymous> (file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/generatedJavaScript/handlers/Handler1.js:7:9)
    at [object Object].eze$$thisClass (file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/WebContent/runtime/egl.js:876:27)
    at file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/WebContent/Handler1.html:68:22
    at Function.loadScripts (file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/WebContent/Handler1.html:38:3)
    at file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/WebContent/Handler1.html:36:38
    at HTMLScriptElement.<anonymous> (file:///home/jvincens/eclipse/rbdDev/EDT07-4/ServiceTest/WebContent/Handler1.html:24:4)

handler Handler1 type RUIhandler {initialUI = [ ],onConstructionFunction = start, cssFile="css/ServiceTest.css", title="Handler1"}
	
	function start()
		writestdout("in start");
		testF2();
	end

	function testF2()
	end
end
Comment 1 Scott Greer CLA 2011-08-04 20:59:45 EDT
Fixed by https://bugs.eclipse.org/bugs/show_bug.cgi?id=353223
Comment 2 Joseph Vincens CLA 2011-08-04 21:31:06 EDT
it's now working