Hi Samuel, thx a lot. You made my day.
Sometimes the naming of Wonder components is confusing to my limited cognitive faculty. Since e.g. AjaxSubmitButton can be used instead of ERXSubmitButton or AjaxFileUpload instead of WOFileUpload I was looking for something called AjaxAttachmentUpload instead of ERAttachmentUpload. So I simply should have dug just a little deeper into every Wonder class that starts with ERAttachment. C.U.CW -- I thought emacs was really cool, in 1986. That’s when it was really cool to have a DEC VT220 terminal in my dorm room with a 9600 baud connection to a VAX running BSD 4.3. Also, I listened to Depeche Mode. (Jens Alfke) On 20.02.2015, at 16:12, Samuel Pelletier <[email protected]> wrote: > Hi Christoph, > > I do not think the Ajax form encoder handle the file upload, it will be > simply skipped. > > I think the ERAttachmentFlexibleUpload component can work in Ajax context. > > Samuel > >> Le 2015-02-18 à 15:39, CHRISTOPH WICK | i4innovation GmbH, Bonn >> <[email protected]> a écrit : >> >> Hi there, >> >> I try to use an ERAttachmentUpload within a form that's submitted by an >> AjaxSubmitButton - but it doesn't work. >> >> The action method bound to the AjaxSubmitButton is called BEFORE the setter >> method of the fileupload is called. (Should be the other way around??). >> Therefore no attachment is uploaded. >> >> If I replace the AjaxSubmit with a plain old WOSubmit, everything works fine. >> >> Any hints? Is it impossible at all to use file uploads within Ajax submitted >> forms? >> >> Thanks, Christoph >> -- >> What are the three enemies of a programmer? Sunlight, oxygen, and the >> appalling roar of the birds. >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com >> >> This email sent to [email protected] > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
