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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

sebastianconcept@gmail.co
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
_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev