Hello,
I have the following code:
private Embedded constructDIVe(String url) throws MalformedURLException{
[indent]
URL u = new URL(url);
Embedded browser = new Embedded(“”, new ExternalResource(u));
browser.setMimeType(“text/html”); // not supported
browser.setType(Embedded.TYPE_OBJECT);
browser.setWidth(“100%”);
browser.setHeight(“100%”);
return browser;
[/indent] }
If I use the mime type “application/x-shockwave-flash” then the Object
tag is generated. Otherwise no Object tag is created. My question is:
is the “text/html” type supported? I would like to use that with the
data attribute set to a given URL.
BTW, the following also does not seem to work:
browser.setData(url);
TIA