[Seaside] get the full path of a file when using a WAFile Component
whuannou at yahoo.fr
Sun Dec 17 16:40:11 UTC 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Seaside