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

Bug 358330

Summary: call statement in RUIHandler will cause generation error
Product: z_Archived Reporter: Xin Wu <cdlwuxin>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: cdlwuxin, hjiyong, jvincens
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xin Wu CLA 2011-09-20 23:08:00 EDT
Build Identifier: 20110919 nightly build

call statement in RUIHandler will cause generation error

Sample code:

        function serviceButton_onClick(event Event in)
		hello HelloImple{@Resource};
		call hello.sayHello("Tom") returning to callback;
	end
	
	function callback(retResult string in)
		TextField.text = retResult;
	end

Reproducible: Always

Steps to Reproduce:
1. Create new Web Client with Service Project, create simple service 
2. Create RUIHandler to call the service
3. In VE, the call statement will cause design view and preview got error message "Could not open %RUIHandler name%"
4. The project got error which will stop build
5. The file could not be deployed correctly
6. If comment out the call statement code, everything goes well
Comment 1 Joseph Vincens CLA 2011-09-21 12:50:57 EDT

*** This bug has been marked as a duplicate of bug 358346 ***