Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370406 - update HTML widget to use new binding format
Summary: update HTML widget to use new binding format
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: lu lu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 04:10 EST by Tony Chen CLA
Modified: 2017-02-23 14:19 EST (History)
2 users (show)

See Also:


Attachments
use 'uri' to replace 'bindingkey' and 'propertyFileName' (1003 bytes, patch)
2012-02-03 01:38 EST, lu lu CLA
lulu: review?
Details | Diff

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