[Seaside] Choose Directory Window

Robert Sirois watchlala at hotmail.com
Sat Dec 4 16:25:17 UTC 2010


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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101204/3a0406bb/attachment.htm


More information about the seaside mailing list