[Seaside] get the full path of a file when using a WAFile Component
HUANNOU William
whuannou at yahoo.fr
Sun Dec 17 16:40:11 UTC 2006
Hi everybody,
I am writing an intranet based on Seaside and I am struggling with a little problem.
I need to record and serialize some data about files I use in my application. So I tried out with WAFile Class to make it more ergonomic for the future user but my pb is that :
FIRST : I wrote this "html fileUploadWithCallback: [:f | file := f]"
where f is an instance of WAFile class; but with this class instances you can get only 3 attributes which are
- the contents (stream)
- the fileName (just the filename string without the entire path)
- the contentsType (text/plain, text/html ....)
But me I NEED THE FULLPATH OF THE FILE.HOW CAN I GET IT ?
SECOND : How could I create a WAFile class object using only the fullPath of a file ?
Thank you for your help!
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20061217/7b7c2036/attachment.htm
More information about the Seaside
mailing list