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

Bug 330806

Summary: [Browser] Improve Browser-widget to support mashups
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 330340, 330361, 330808, 330811, 331048, 332111, 332313, 334138    
Bug Blocks:    
Attachments:
Description Flags
Example for a "mashup" that works in SWT but not RAP none

Description Tim Buschtoens CLA 2010-11-22 09:53:34 EST
Created attachment 183569 [details]
Example for a "mashup" that works in SWT but not RAP

In many cases, the browser-widget could be used as a much simpler alternative to implementing custom widgets based on our javascript client. The most important features (setText, execute, browser-functions) are already present, but some are still missing.
Comment 1 Tim Buschtoens CLA 2010-11-22 10:00:31 EST
While i doubt something changed, another look at Bug 243743 would not hurt.
Comment 2 Tim Buschtoens CLA 2010-11-22 10:34:10 EST
Browser is also missing the getBrowserType() method. It would not be difficult to implement, but i currently see no need to do it.
Comment 3 Tim Buschtoens CLA 2010-11-22 10:39:20 EST
There should also be an easy way to use resources (like scripts and images) from the bundle within the Browser widget document, idealy single-sourcable. Loading a document into the browser itself is possible by reading it into a string and then use setText, though i find that a bit tedious. But i'm not sure how to easily get a resource to use in a script or image tag.
Comment 4 Tim Buschtoens CLA 2011-01-20 11:11:41 EST
Closing the Bug. We implemented most features that might reasonably be used to implement custom-widgets/mashups.