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

Bug 357162

Summary: Deployment Generator is not adding files for anonymous widgets
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: greer, hjiyong, mayunf
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brian Svihovec CLA 2011-09-08 17:06:08 EDT
Create a RUIHandler with the following source:

handler Test type RUIhandler {initialUI = [ ui ],onConstructionFunction = start, cssFile="css/RUIP1.css", title="Test"}
	
	// The output where we'll place the "Hello, <name>"
	outputLabel TextLabel{ fontWeight="bold" };
	
	ui Box {
		columns = 1,
		children = [
			new HTML{ marginBottom = 20, text = "To fire the onClick event and call the sayHello function, click <b>Say Hello</b>." }
			,
			outputLabel
		]
	};
	
	function start()
	end	
end

When you run the handler in Firebug, it says that the constructor can not be found for HTML, and the include for HTML.js is missing from the HTML file.  

If you comment out the ', outputLabel' children from UI, the page renders correctly.
Comment 1 Yun Feng Ma CLA 2011-09-08 21:40:47 EDT
Hi Brian,

This is a same issue with bug 356518, I've created a fix, waiting for Paul review. Thanks.
Comment 2 Yun Feng Ma CLA 2011-09-16 04:03:50 EDT
Duplicated with bug 356518.

*** This bug has been marked as a duplicate of bug 356518 ***
Comment 3 Lisa Lasher CLA 2011-11-09 14:16:58 EST
This defect was fixed at least 2 months ago, so I am closing.