Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330806 - [Browser] Improve Browser-widget to support mashups
Summary: [Browser] Improve Browser-widget to support mashups
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 330340 330361 330808 330811 331048 332111 332313 334138
Blocks:
  Show dependency tree
 
Reported: 2010-11-22 09:53 EST by Tim Buschtoens CLA
Modified: 2011-01-20 11:11 EST (History)
1 user (show)

See Also:


Attachments
Example for a "mashup" that works in SWT but not RAP (1.97 KB, application/zip)
2010-11-22 09:53 EST, Tim Buschtoens CLA
no flags Details

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