[Seaside] [VW] fileUploadWithCallback:

Martin J. Laubach mjl at laubach.at
Thu Jan 13 14:35:13 CET 2005

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?


More information about the Seaside mailing list