[Seaside] Choose Directory Window

alexandre bp abalonpe at ulb.ac.be
Sat Dec 4 16:54:37 UTC 2010


Thx but actually I'd like to choose the directory (not a file) so that the
user can download the file (which comes from my website) where he wants.
Alex

2010/12/4 Robert Sirois <watchlala at hotmail.com>

>  WAFileUploadTag
>
> " I think you end up with a WAFile instance or something? I'd have to look,
> but you can always just explore it "
> html fileUpload
>     on: #iVar of: self.
>
> RS
>
> ------------------------------
> From: abalonpe at ulb.ac.be
> Date: Sat, 4 Dec 2010 16:41:16 +0100
> Subject: [Seaside] Choose Directory Window
> To: seaside at lists.squeakfoundation.org
>
>
> Hi,
>
> I'd like to open a new window from my webpage to ask the user to choose a
> directory where he wants to save a file.
>
> I tried this:
>
> canvas submitButton
>
> callback:[
>
> fileWindow := FileDialogWindow new.
>
> directoryPath := fileWindow chooseDirectory:'Choose a directory'.];
>
> with:'Choose directory'.
>
>
> It works but the window is open in pharo and not on my website.
> How can I change that?
> Thx in advance.
> alex
>
> _______________________________________________ seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101204/915d6158/attachment.htm


More information about the seaside mailing list