Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357162 - Deployment Generator is not adding files for anonymous widgets
Summary: Deployment Generator is not adding files for anonymous widgets
Status: CLOSED DUPLICATE of bug 356518
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 17:06 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:17 EST (History)
3 users (show)

See Also:


Attachments

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