[Seaside-dev] [ANN] 539, better iframes

sebastian at flowingconcept.com sebastian at flowingconcept.com
Wed Jan 27 10:29:32 UTC 2010


Hi there,

seaside 3 can't do much for the header of its iframes:

http://code.google.com/p/seaside/issues/detail?id=539

If you want to use prototype or whatever js lib inside an iframe, you can't. Unless you do some hacking of the WAIframeTag.

I guess that adding an instVar to it, in order to set a renderer block, it will be able to render on the aHtmlRoot of that iframe, doing the job.

The thing is that one should be able to make this kind of stuff:

renderComponentOn: html

  |anIframe|

anIframe := html iframe id: someId; yourself.
anIframe rootRenderer: [:aHtmlRoot|
       aHtmlRoot javascript url: (self session configurationAt: #prototypeUrl)].
anIframe contents: yourWhateverComponent





cheers,

sebastian


More information about the seaside-dev mailing list