[Seaside] referring to the current directory..

Randal L. Schwartz merlyn at stonehenge.com
Sat Apr 17 20:18:52 UTC 2010


>>>>> "sergio" == sergio 101 <sergiolist at village-buzz.com> writes:

sergio> thinking that the '.' would reference the directory that my seaside
sergio> image lives in..

Nope.  That's:

    FileDirectory default

which returns a Directory-ish object that you can then do math on:

    FileDirectory default / 'public_html' / 'images'

which oddly enough, is portable. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


More information about the seaside mailing list