Magritte description for a file on the server's FS ?
Damien Pollet
damien.pollet at gmail.com
Mon Sep 10 18:53:43 MEST 2007
Hi,
I'd like to describe a field that should point to a file on the server's disk.
The precise use-case is that I have a seaside component to displays
bibliographies in Pier, and I would like to have it display the
contents of a .bib file, which is under SVN or similar
version/replication control (so it will be updated sometimes without
going through Squeak).
Currently I'm using MAFileDescription new kind: MAExternalFileModel; ...
but that makes Pier ask for a file to upload, when I'd like to specify
a server-specific file path.
I was thinking of subclassing MAFileModel but now I suspect that
defining MAServerFileChooserComponent is the way... correct ?
PS. why does MAFileUploadComponent>>#isMultipart actually mean "no file yet"?
--
Damien Pollet
type less, do more [ | ] http://typo.cdlm.fasmz.org
More information about the smallwiki
mailing list