[Seaside] confused by the iframe
nick.ager at gmail.com
Mon Feb 15 15:09:28 UTC 2010
> In your html fileUpload callback answer the following:
> ^ WARenderLoop new call: YourComponentForTheIframe withToolFrame: false
I should have mentioned I'm using Seaside 3.0, and couldn't find a
WARenderLoop>>call:withToolFrame: or similar, so I guess you're using
However your code gave me an idea, which seems to provide a solution. I've
changed the callback to read:
callback: [:aFile| file := aFile. self renderIframeResponse];
then renderIframeResponse reads as:
self requestContext respond:
[ :response |
contentType: WAMimeType textHtml;
nextPutAll: (WAHtmlCanvas builder
render: [:html |
self renderIFrameContentOn: html.
all now works as anticipated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside