<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
WAFileUploadTag<br><br>" I think you end up with a WAFile instance or something? I'd have to look, but you can always just explore it "<br>html fileUpload<br>&nbsp;&nbsp;&nbsp; on: #iVar of: self.<br><br>RS<br><br><hr id="stopSpelling">From: abalonpe@ulb.ac.be<br>Date: Sat, 4 Dec 2010 16:41:16 +0100<br>Subject: [Seaside] Choose Directory Window<br>To: seaside@lists.squeakfoundation.org<br><br>Hi,<div><br></div><div>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.</div><div><br></div><div>I tried this:</div><div><br></div><div>canvas submitButton</div>

<blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;"><div>callback:[</div></blockquote><blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;">

<blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;"><blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;"><div>fileWindow := FileDialogWindow new.</div>

</blockquote></blockquote></blockquote><blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;"><blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;">

<blockquote class="ecxwebkit-indent-blockquote" style="border: medium none; padding: 0px;"><div>directoryPath := fileWindow chooseDirectory:'Choose a directory'.];</div></blockquote></blockquote>with:'Choose directory'.<br>

</blockquote><br><div>It works but the window is open in pharo and not on my website.</div><div>How can I change that?</div><div>Thx in advance.</div><div>alex</div>
<br>_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside                                               </body>
</html>