[Seaside] problem using sub-directories
Andreas Raab
seaside@lists.squeakfoundation.org
Sun, 21 Jul 2002 23:49:20 +0200
Rob,
This could be a platform problem. I found all sorts of problematic
things when I ported some code referencing relative directories from
Windows to Mac Squeak. Turns out that Mac Squeak has no notion of
relative directories at all - e.g., if there's a name like "foo:bar:baz"
it will treat it as absolute even if there's no volume called foo. I
don't know how the behavior is on Unix is but it's definitely something
to check out.
Cheers,
- Andreas
> -----Original Message-----
> From: seaside-admin@lists.squeakfoundation.org
> [mailto:seaside-admin@lists.squeakfoundation.org] On Behalf
> Of Rob Whitfield
> Sent: Sunday, July 21, 2002 4:46 PM
> To: seaside@lists.squeakfoundation.org
> Subject: [Seaside] problem using sub-directories
>
>
> I added a sub-directory named "data" under the squeak default
> directory and
> my app places PDF's into this sub-directory. When I try and
> access the PDF
> in this subdirectory via something like <a
> href="resource/data/foo.pdf"> I
> get a file read error on Netscape and a "zero file length" on
> IE. The file
> is definitely present and good. If I move it back up one
> level (the squeak
> default directory) and reference it as
> href="resource/foo.pdf" everything
> works fine.
>
> Seems like seaside is having trouble referencing files in
> sub-directories. Does anyone have a suggestion for using
> sub-directories
> under the default squeak directory in this way with seaside? My app
> generates tons of PDF files and I need to organize them in a
> directory
> other than the default squeak directory.
>
>
> _______________________________________________
> Seaside mailing list
> Seaside@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>