[vwnc] Question regarding uploading files via Seaside for server to process..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Question regarding uploading files via Seaside for server to process..

Rick Flower
Hi all.. I posted the following email to the Seaside group but apparently
their mailing list server is dead (and has been since Friday I believe)..
Anyway, I'm hoping someone here may have done this before..

I need to put some new code in my web-app that can read/parse CSV files but
need to find a way to allow the user to select & upload them so that the ST
environment can chew on the resulting CSV data directly.  So, I'm curious
to find out what the best way to have a "Browse.." button/filename added to a
page with a callback (I'm assuming) that is used once the user hits the
"import" button.  I know how to do the text fields & buttons but not sure
how the whole upload the file part works and where it's place for the ST
image (VW in my case) to use,etc... Any suggestions would be much
appreciated!



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Question regarding uploading files via Seaside for server to process..

Mark Roberts
Rick,

At 10:20 AM 10/22/2008, Rick Flower wrote:
>I need to put some new code in my web-app that can read/parse CSV files but
>need to find a way to allow the user to select & upload them so that the ST
>environment can chew on the resulting CSV data directly.  So, I'm curious
>to find out what the best way to have a "Browse.." button/filename added to a
>page with a callback (I'm assuming) that is used once the user hits the
>"import" button.  I know how to do the text fields & buttons but not sure
>how the whole upload the file part works and where it's place for the ST
>image (VW in my case) to use,etc... Any suggestions would be much
>appreciated!

Have a look at WAUploadTest>>renderContentOn: -- maybe you can reuse
the code in that method.

HTH,

M. Roberts
Cincom Systems, Inc.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc