Hi All
I am having trouble with the file upload in seaside on vast. I took the code from the Dynamic Web Development with Seaside, and implemented it in Pharo to make sure it works, and it does. I used the identicle code in VAST 8.5.2 with seaside and it ignores the file, as though it were empty. The code is simple renderContentOn: html html form multipart; with: [ html fileUpload callback: [ :value | self receiveFile: value ]. html submitButton: 'Send File' ] receiveFile: value value inspect. it never inspects 'value'. even if I put halt into 'receiveFile: it doesn't halt. I do select a file, an image, a pdf, I did test various. The documentation says the callback is only triggered if a file is selected. Its behaviour, even when I select a file, is as if a file wasn't selected. Ref: http://book.seaside.st/book/fundamentals/forms/fileupload Kind Regards Dusty -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/1CnyFavvD6AJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Hi Dusty,
File uploads require HTTP Mutliform processing, which is not yet implemented in VAST, but announced for the next release (well, it has been announced for the next release before the current one...). There've been implementations by individuals that do support at least uploads of 1 file at a time, so maybe one of the people who have code is willing to share here on the forum. Joachim
-- Am Dienstag, 22. Januar 2013 13:02:23 UTC+1 schrieb Dusty: Hi All You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/ZR0lISBVOZgJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Hi,
maybe Instantiations is willing to upload a preview on vastgoodies? I implementend my 1 file Mutliform support in the according proper Sst layers/sources, but if the next release will include the full upload mechanism anyways, I wouldn't invest too much time in using my implementation. In urgent cases you can contact me directly and I'm willing to make a small package. Sebastian Am 22.01.2013 04:29, schrieb [hidden email]: Hi Dusty, -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
In reply to this post by Dusty-2
As Joachim and Sebastian noted: I really do not know, why Instantiations is not able to deliver this solution for VA over more than one year now. There have been requests for this feature and all Seaside platforms support this - but not VA.
We have several possible small projects here where such a feature is needed. The only solution for me here is: use another platform where the feature is available (e.g. Pharo) and I find myself more often using other platforms doing my jobs, where I would normally use VA for. -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/DsCYZ7fezrQJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Hi Guys, I reported this problem back in February, 2009 as part of case 38953 (WAUploadFunctionalTest problem among other things) and again separately in June, 2009 case 39237 (File Upload problem). It has been almost four years, three and a half if we count from June when John O'Keefe first took a good look at it saying: This is not strictly a Seaside problem. The underlying problem is that SST Servlets have never supported multipart forms (which is what is needed for File Upload). Adding the support is non-trivial -- I'm targeting it for 8.0.1, but there are a lot of competing requirements for 8.0.1 right now, so I can't guarantee that it will be there. Sorry John, but a lot of us are looking for this feature. Lou On Tuesday, January 22, 2013 12:58:05 PM UTC-5, Marten Feldtmann wrote: As Joachim and Sebastian noted: I really do not know, why Instantiations is not able to deliver this solution for VA over more than one year now. There have been requests for this feature and all Seaside platforms support this - but not VA.-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/7BLZvBu-FTUJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
In reply to this post by Dusty-2
We have a freebie that has been on our Totally Objects web site for years.
It is available at http://www.totallyobjects.com/tofree.htm and is listed as WebConnection File Attachment. Although it is designed for WebConnect, you may be able to work out what you need to do in Seaside. David On Tuesday, January 22, 2013 12:02:23 PM UTC, Dusty wrote: Hi All-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/7_rlW9JT58UJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
>This is not strictly a Seaside problem. The underlying problem is that
SST Servlets have never supported multipart forms (which is >what is
needed for File Upload). Adding the support is non-trivial -- I'm
targeting it for 8.0.1, but there are a lot of competing >requirements
for 8.0.1 right now, so I can't guarantee that it will be there. if there has been work done on it, release it to the community, even if it doesn't work.I'm sure one of the brains around here can aid in getting it to work (I'd like to tackle the problem). On Tue, Jan 22, 2013 at 10:28 PM, Totally Objects <[hidden email]> wrote: We have a freebie that has been on our Totally Objects web site for years. You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
Hello All,
I just wanted to let you know that I have begun work on adding multipart form support to our Http processing framework. When I get something working and tested, I will be happy to share it with you as a beta version before our official release. Regards, Diane On Wednesday, January 23, 2013 8:41:46 AM UTC-5, Dusty wrote: -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
Hi Diane,
this is excellent. FileUploads have been missing in VAST for quite a while now. If I remember correctly, the basic patterns of http multiform part and multipart emails are very close to each other. So maybe once this thing flies you could see if VAST could be brushed up a little in that area as well. It would be nice to be able to send emails with attachments from VAST out of the box. Just a thought Joachim Am Mittwoch, 23. Januar 2013 20:00:46 UTC+1 schrieb dfe: Hello All, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
In reply to this post by dfe
Hi Diane How is this progressing?Gareth On Wed, Jan 23, 2013 at 9:00 PM, dfe <[hidden email]> wrote: Hello All, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
Hi Dusty,
Inbound processing will be ready for code review in a couple of weeks. On Wednesday, April 3, 2013 5:39:54 AM UTC-4, Dusty wrote: -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
Hey,
when I read this I actually used Google to translate me this sentence just to be sure how it is meant. Will be ready for Code Review "in a couple of weeks" - that's a humorous remark (gentlemen translation of: [... censored by myself ...]) ?????? When someone tells me, that I may look at the code in a couple of weeks - then I would consider the fact, that actually nothing had happened yet. In a "couple of weeks" I would expect to have 8.5.3 in my hands ... considering the fact, that we have not seen a corrected 8.5.2 version with working foreign (from US view) timezone support or a corrected CodeAssist stuff .... Surprised, Marten Am Montag, 8. April 2013 18:19:28 UTC+2 schrieb dfe: Hi Dusty,-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
Marten,
I'll provide more detail. The inbound processing code is functional. The WAFileUploadTest now works in VA Smalltalk. There is some refactoring to do. After the internal code review, we will consider making it available for a beta release. It is targeted for our next release. On Monday, April 8, 2013 12:43:31 PM UTC-4, Marten Feldtmann wrote: Hey,-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk?hl=en. For more options, visit https://groups.google.com/groups/opt_out. |
Hi 3 Months down the line, any update?Thanks Dusty On Mon, Apr 8, 2013 at 8:44 PM, dfe <[hidden email]> wrote: Marten, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Dusty - Yes, HTTP Servlet Multipart Forms (both Multipart/form and Multipart/mixed) will be in V8.6 (available 3Q2013), This support is inbound-only in this release. John On Thursday, July 11, 2013 11:03:31 AM UTC-4, Dusty wrote: -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Free forum by Nabble | Edit this page |