[Seaside] Re: Confused over the use of WAExternalFileLibrary...

Rick Flower rickf at ca-flower.com
Tue Jun 17 00:58:04 UTC 2008

Ok.. In thinking about the big picture here and trying to
help perspective future users of this class.. I'm wondering IF
I were to alter the existing WAExternalFileLibrary to be more
flexible (add support for subdirectories + more obvious config
features), would that annoy other users of this class?  I'm not
sure how many people are actually using it for anything --
comments?  At a minimum I'll certainly document the current
behavior including where the 'files' directory lives within the
VW tree which was half the problem for me to guess.

-- Rick

On Sun, June 15, 2008 8:07 pm, Richard E. Flower wrote:
> This is really odd to me.. I finally got it working.  In my case, I
> used the name "include" in the dispatch editor for Seaside (where the
> configuration of the WAExternalFileLibrary lives) and my links needed
> to be named "include/external/foo.jpg" but the files live in
> the VW image directory as "vw7.6/image/files/foo.jpg".. It also does
> not appear to handle subdirectories from what I've seen.. I guess I'll
> have to spend some time looking into Apache again since this isn't
> doing what I was hoping.. Oh well..
> -- Rick
> On Jun 13, 2008, at 2:21 PM, Magnus Schwarz wrote:
>> Hi Rick,
>> although the files reside in the /files directory (i.e. /files/
>> myFile.jpg), the proper URL in Seaside is files/external/myFile.jpg.
>> (This may IMHO be a bit confusing...)
>> Regards,
>> Magnus
>> seaside-request at lists.squeakfoundation.org schrieb:
>>>   1. Confused over the use of WAExternalFileLibrary...
>>>      (Richard E. Flower)
>>> ----------------------------------------------------------------------
>>> Message: 1
>>> Date: Thu, 12 Jun 2008 23:02:12 -0700
>>> From: "Richard E. Flower" <rickf at ca-flower.com>
>>> Subject: [Seaside] Confused over the use of WAExternalFileLibrary...
>>> To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
>>> Message-ID: <416C80A3-37ED-4704-B5D6-815F2DC1EE1E at ca-flower.com>
>>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>> Ok.. I've gotten past my initial hurdles with Boris' help but none
>>> of  my css files or images are getting pulled in due
>>> to the deprecated API that I was using w/ Seaside 2.6 (besides the
>>> move from Webtoolkit to Opentalk)..
>>> Anyway, in perusing the old mail messages from the list, it
>>> appears  that WAExternalFileLibrary may be the solution
>>> I'm looking for but I'm stuck with trying to get it to work.  I've
>>> created a "Files" entry point as indicated and named it "include".
>>> Now, I've changed one of my image references to point to /seaside/
>>> files/image.jpg but its never found.. The docs are very terse
>>> on the usage.. Am I missing something?  Where does the directory
>>> lie  in the filesystem for VW? I've tried the top-level VW directory
>>> along with the 'image' subdirectory...  Also, if I want to have
>>> one  directory w/ css and another with images how is that done?
>>> Thanks!
>>> -- Rick
>> --
>> Magnus Schwarz * certified Scrum Master / Smalltalk architect *
>> mailto:magnus.schwarz at heeg.de
>> phone:+49 231 97599-0 * fax:+49 231 97599-20
>> Georg Heeg eK Dortmund
>> Handelsregister: Amtsgericht Dortmund  A 12812
>> ---------------------------------------------------
>> PGP PUBLIC KEY BLOCK via http://www.heeg.de/~magnus
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list