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

Bug 362558

Summary: DojoEditor returns "' for value
Product: z_Archived Reporter: Tony Chen <chenzhh>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: smythew, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tony Chen CLA 2011-11-01 06:11:42 EDT
Reported by Will

Why does DojoEditor return "" for value (regardless of the value typed into the field)? Editor has something call getContents(), which does return the string (in HTML form, since formatting could be applied by the user). For consistency with our other Form widgets, seems it should support get/setValue, and not get/setContents
Comment 1 Xiao Bin Chen CLA 2011-11-02 01:00:49 EDT
Fixed.
I think we could leave the set/getContents unchanged, Because rbd have these functions. And get/setValue work now.
Comment 2 Tony Chen CLA 2011-11-11 02:21:54 EST
Verified