tags:

views:

385

answers:

1

I am working to recreate (conceptually) a prototype I've written in Cappuccino in GWT/GXT. Cappuccino made it trivial to display an external webpage as part of the application by using a WebView.

However, I cannot find any way to do this with GWT/GXT. There is a HtmlContainer widget, but this seems to be intended for something else. Any suggestions on how to do this?

+3  A: 

If you have the html-code and just want to render it use the "HTML"-widget. Form the docs

A widget that can contain arbitrary HTML. This widget uses a element, causing it to be displayed with block layout.

If you want to display a different page e.g. stackoverflow.com in your webapp use the "frame" widget. From the docs:

A widget that wraps an IFRAME element, which can contain an arbitrary web site.

Chris Boesing
It's the latter one, so thanks for your pointer; this works now.
mss