[Seaside] fileUploadWithCallback not working?

Andreas Nilsson wahboh at mac.com
Wed Sep 8 17:52:44 CEST 2004


Ok, thanks.
Tried the test to convince myself that it actually worked and then 
found the problem in my own code, as usual (the page contained nested 
forms).

/Adde

On 2004-09-08, at 11.11, Avi Bryant wrote:

>
> On Sep 8, 2004, at 2:49 AM, Andreas Nilsson wrote:
>
>> I also tried using the WAUploadTest code directly:
>>
>> html attributeAt: 'enctype' put: 'multipart/form-data'.
>> html form: [
>> 	html fileUploadWithCallback: [ :file | Transcript show: 'File 
>> uploaded' ].
>> 	html submitButton.
>> ].
>>
>> But then I got 'page expired' whenever i clicked the submit button.
>
> What about when you use WAUploadTest itself?  I tried it just now in 
> Safari and Firefox and it seems to work ok.
>
>> I would be happy to provide the seaside version number I'm running 
>> but I have no idea of where to look for it.
>
> Make sure you have Monticello loaded.  Then open the Monticello 
> Browser, and in the left hand column you should see something like:
>
> Seaside (Seaside2.5b4-avi.1)
>
> Avi
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside



More information about the Seaside mailing list