[Seaside] [VW] fileUploadWithCallback:

Bany, Michel mbany at cincom.com
Thu Jan 13 15:07:55 CET 2005


Yes, this looks like a bug in the VW WebToolkit 7.3.
I am attaching a patch that should eliminate the symptom.
This will be passed on to the WebToolkit engineering group.
Enjoy,
Michel.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org]On Behalf Of Martin
J. Laubach
Sent: Thursday, January 13, 2005 2:35 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] [VW] fileUploadWithCallback:


a homegrown form:

	html attributeAt: 'enctype' put: 'multipart/form-data'.
	html form: 
		[html fileUploadWithCallback: [:f | true ].
		html submitButtonWithText: 'Save'].


  Submitting this form, with or without file to upload,
results in:

	Internal server malfunction
	Message not understood: #isEmpty
	You should contact the system administrator

  I have traced this down to the

	html attributeAt: 'enctype' put: 'multipart/form-data'.

  when I remove that, it works without error, but of course,
the file upload doesn't quite.

  I suspect this is a VisualWorks problem. And the rather
spartan error message doesn't even give a clue where this
is happening. Any pointers?

        mjl
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MimeEntity-fileName.st
Type: application/octet-stream
Size: 552 bytes
Desc: MimeEntity-fileName.st
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20050113/b2cd89e6/MimeEntity-fileName.obj


More information about the Seaside mailing list