Hi,<div><br></div><div>I&#39;m implementing a multifile uploader form, using a hidden iframe and directing the forms &#39;target&#39; property to the iframe. It&#39;s almost working apart from I want the response from the each form submission to be some status I can report back to the user. I&#39;m trying to ensure the iframe only contains a simple response as follows:</div>
<div><br></div><div><div>renderIFrameContent</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>self requestContext respond: </div><div><span class="Apple-tab-span" style="white-space:pre">                </span>[ :response | </div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>response</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>contentType: WAMimeType textHtml;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>nextPutAll: (WAHtmlCanvas builder</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>documentClass: WATagDocument;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>fullDocument: true;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>render: [:html |</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>html div </div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>id: #uploadResults;........</div><div><br></div><div><br></div><div>
however it seems that when my code executes the response buffer already contains the header html so at best the output ends up as:</div><div><br></div><div>&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;base target=&quot;_top&quot;/&gt;&lt;/head&gt;&lt;body&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;div id=&quot;imageUploadResults&quot;&gt;.....</div>
<div><br></div><div>that is my code adds to the existing response stream which already contains: &lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;base target=&quot;_top&quot;/&gt;&lt;/head&gt;&lt;body&gt;</div><div>
<br></div><div>Is there a way to clear the response buffer/force a new response or is there a better approach?</div><div><br></div><div>Thanks</div><div><br></div><div>Nick</div><div><br></div></div>