We have a few use cases in some of the proposals out there for OpenSocial 
2.0 where the container would be responsible for rendering URLs in 
iFrames.  (You can check out the proposals here, 
http://docs.opensocial.org/display/OSD/Embedded+Experiences and 
http://docs.opensocial.org/display/OSD/View+Enhancements+To+Support+Opening+Of+Gadgets+and+URLs
.)  The URL can be anything, for example http://www.google.com or 
http://example.com/mypic.png.  In my mind the best way to do this is to 
have something similar to the common container classes GadgetSite and 
GadgetHolder for URLs....something like UrlSite and UrlHolder.  Then we 
can add the corresponding methods to the container to render these URLs in 
their sites.  I was thinking something like

osapi.container.Container.newUrlSite(urlEl)
osapi.container.Container.navigateUrl(....)
osapi.container.Container.closeUrl(site)

Anyone have any thoughts or objections to this?

-Ryan

Email: [email protected]
Phone: 978-899-3041
developerWorks Profile

Reply via email to