<div>Hi,</div>
<div> </div>
<div>I am having a problem with WAUploadTest in IE6 and IE7 (it works fine in Firefox).</div>
<div>The browse button works fine but upon pressing the submit button the browser goes to the default 'The page cannot be display' webpage.</div>
<div>The file is able to be passed to a Smalltalk variable but then (I'm guessing) the render falls over as it doesn't seem to be passed an action and I guess doesn't know what to do? Does anyone have a solution?
</div>
<div> </div>
<div>WAUploadTest:</div>
<div>renderContentOn: html<br> html heading: 'Upload File'.<br> <br> html attributeAt: 'enctype' put: 'multipart/form-data'.<br> html form: [<br> html fileUploadWithCallback: [:f | file := f].<br>
html submitButton.<br> ].</div>
<p> file ifNotNil:<br> [html anchorWithDocument: file contents mimeType: file contentType fileName: file fileName text:file fileName.<br> html preformatted: file contents contents].</p>