File upload

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

File upload

Carl Gundel
Is there an easy way to have a field and browse button for specifying file
uploads using Seaside?

-Carl Gundel, author of Liberty BASIC
http://www.libertybasic.com 


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: File upload

Boris Popov, DeepCove Labs (SNN)
Carl,

(html form)
  multipart;
  with:
    [(html label)
       for: 'upload';
       with: 'Select File'.
     (html fileUpload)
       readonly: true;
       id: 'upload';
       callback: [:f | self upload: f]]

An instance of WAFile will be passed into the callback,

Hope this helps,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Carl
Gundel
Sent: Wednesday, October 04, 2006 12:54 PM
To: [hidden email]
Subject: [Seaside] File upload

Is there an easy way to have a field and browse button for specifying
file
uploads using Seaside?

-Carl Gundel, author of Liberty BASIC
http://www.libertybasic.com 


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside