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

Bug 370406

Summary: update HTML widget to use new binding format
Product: z_Archived Reporter: Tony Chen <chenzhh>
Component: EDTAssignee: lu lu <lulu>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: jvincens, zhuzhi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
use 'uri' to replace 'bindingkey' and 'propertyFileName' lulu: review?

Description Tony Chen CLA 2012-02-02 04:10:16 EST
Bug 369135 changed the syntax of how to define a binding. HTML widget is not compiling after that change. Please fix it.
Comment 1 Tony Chen CLA 2012-02-02 05:26:19 EST
I fix my workspace with below code, my simple rui app seems to be working. 
	function setSrc(src string in)
//		restService IRest?{@Resource {bindingkey = "restServiceHTMLWidget", propertyFileName = "org_eclipse_edt_rui_widgets_0_7_0"}};
		restService IRest?{@Resource {uri = "binding:file:org_eclipse_edt_rui_widgets_0_7_0#restServiceHTMLWidget"}};
Comment 2 lu lu CLA 2012-02-02 09:31:34 EST
In Resource Annotation, properties
  	'bindingKey string;
  	propertyFileName string?;'
had been replaced by 
        'uri'

I retest the resolution by Tony, that works. Thanks, Tony.
Comment 3 lu lu CLA 2012-02-03 01:38:41 EST
Created attachment 210489 [details]
use 'uri' to replace 'bindingkey' and 'propertyFileName'

Use 'uri' to replace 'bindingkey' and 'propertyFileName' in HTML widget. Thanks, Tony. 

Zhu Zhi, please help to review and deliver this. Thanks.
Comment 4 lu lu CLA 2012-02-03 02:03:08 EST
Resolve and deliver the patch. Thanks.
Comment 5 Tony Chen CLA 2012-02-24 04:40:44 EST
Verified.