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

Bug 403173

Summary: [WebClient] Implement GridColumn#setHtmlAttribute()
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: tbuschto
Version: 2.1   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2013-03-13 07:34:48 EDT
GridColumn is not a Widget subclass, but it should implement the method setHtmlAttribute to enable adding DOM attributes for UI tests.
Comment 1 Tim Buschtoens CLA 2013-03-20 06:39:06 EDT
Fixed with commit e50cf80e9f7d96fe2511fa5eb49ddb36138aec39.

Attributes are copied to the label like any other attribute.
Note that I did not implement removeHtmlAttribute, as it was not requested in the description. Even setting a attribute to "" or null will not completely remove it from the DOM, as is the case in Widget.js.