The iframe tag is not a supported tag for appendMarkup. See:
http://wave-api-faq.appspot.com/#htmlmarkup

You can embed an iframe only by appending a Gadget element, and making the
gadget XML contains the iframe.


On Sun, Jul 4, 2010 at 8:19 AM, derkent <[email protected]> wrote:

> I would like to embed an external web page in an iframe by using the
> java robot method appendMarkup.
>
> Technically it must be possible because the iFrame gadget does it. But
> I can't figure out how it works.
>
> This is what I am trying to do with a robot:
>
>        @Override
>        public void onWaveletSelfAdded(WaveletSelfAddedEvent event) {
>                event.getBlip().appendMarkup(script);
>        }
>
> And the the iframe looks like this:
>
> private String script = "<iframe src = \"http://word-cumulus-goog-
> vis.googlecode.com/svn/trunk/demo.html\" WIDTH=300 HEIGHT=300 > </
> iframe>";
>
> but it doesn't work. Nothing appears.
>
> Does anyone have any ideas?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-wave-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to