<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] Re: Confused over the use of WAExternalFileLibrary...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>That's actually something Cincom added I believe.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris (via BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: Rick Flower &lt;rickf@ca-flower.com&gt;<BR>
To: Boris Popov<BR>
Cc: seaside@lists.squeakfoundation.org &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Mon Jun 16 18:08:38 2008<BR>
Subject: Re: [Seaside] Re: Confused over the use of WAExternalFileLibrary...<BR>
<BR>
Thanks Boris.. I guess I have to get my feet wet with modifying<BR>
something within Seaside at some point eh!?&nbsp; This class looks<BR>
nice-n-small so it's a good candidate.. Of course I'll let you-all that<BR>
know more about ST than I do, review it..<BR>
<BR>
-- Rick<BR>
<BR>
On Mon, June 16, 2008 5:59 pm, Boris Popov wrote:<BR>
&gt; Sure, submit it as a patch for Cincom to review. I imagine<BR>
subdirectories<BR>
&gt; should be part of basic functionality for file serving.<BR>
&gt;<BR>
&gt; Cheers!<BR>
&gt;<BR>
&gt; -Boris (via BlackBerry)<BR>
&gt;<BR>
&gt; ----- Original Message -----<BR>
&gt; From: seaside-bounces@lists.squeakfoundation.org<BR>
&gt; &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
&gt; To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Mon Jun 16 17:58:04 2008<BR>
&gt; Subject: Re: [Seaside] Re: Confused over the use of<BR>
&gt; WAExternalFileLibrary...<BR>
&gt;<BR>
&gt; Ok.. In thinking about the big picture here and trying to<BR>
&gt; help perspective future users of this class.. I'm wondering IF<BR>
&gt; I were to alter the existing WAExternalFileLibrary to be more<BR>
&gt; flexible (add support for subdirectories + more obvious config<BR>
&gt; features), would that annoy other users of this class?&nbsp; I'm not<BR>
&gt; sure how many people are actually using it for anything --<BR>
&gt; comments?&nbsp; At a minimum I'll certainly document the current<BR>
&gt; behavior including where the 'files' directory lives within the<BR>
&gt; VW tree which was half the problem for me to guess.<BR>
&gt;<BR>
&gt; -- Rick<BR>
&gt;<BR>
&gt; On Sun, June 15, 2008 8:07 pm, Richard E. Flower wrote:<BR>
&gt;&gt; This is really odd to me.. I finally got it working.&nbsp; In my case, I<BR>
used the name &quot;include&quot; in the dispatch editor for Seaside (where the<BR>
configuration of the WAExternalFileLibrary lives) and my links needed<BR>
to be named &quot;include/external/foo.jpg&quot; but the files live in<BR>
&gt;&gt; the VW image directory as &quot;vw7.6/image/files/foo.jpg&quot;.. It also does<BR>
not appear to handle subdirectories from what I've seen.. I guess I'll<BR>
have to spend some time looking into Apache again since this isn't<BR>
doing what I was hoping.. Oh well..<BR>
&gt;&gt; -- Rick<BR>
&gt;&gt; On Jun 13, 2008, at 2:21 PM, Magnus Schwarz wrote:<BR>
&gt;&gt;&gt; Hi Rick,<BR>
&gt;&gt;&gt; although the files reside in the /files directory (i.e. /files/<BR>
myFile.jpg), the proper URL in Seaside is files/external/myFile.jpg.<BR>
(This may IMHO be a bit confusing...)<BR>
&gt;&gt;&gt; Regards,<BR>
&gt;&gt;&gt; Magnus<BR>
&gt;&gt;&gt; seaside-request@lists.squeakfoundation.org schrieb:<BR>
&gt;&gt;&gt;&gt;&nbsp;&nbsp; 1. Confused over the use of WAExternalFileLibrary...<BR>
&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Richard E. Flower)<BR>
&gt;&gt;&gt;&gt; ----------------------------------------------------------------------<BR>
Message: 1<BR>
&gt;&gt;&gt;&gt; Date: Thu, 12 Jun 2008 23:02:12 -0700<BR>
&gt;&gt;&gt;&gt; From: &quot;Richard E. Flower&quot; &lt;rickf@ca-flower.com&gt;<BR>
&gt;&gt;&gt;&gt; Subject: [Seaside] Confused over the use of WAExternalFileLibrary...<BR>
To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Message-ID: &lt;416C80A3-37ED-4704-B5D6-815F2DC1EE1E@ca-flower.com&gt;<BR>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<BR>
Ok.. I've gotten past my initial hurdles with Boris' help but none of<BR>
&nbsp;my css files or images are getting pulled in due<BR>
&gt;&gt;&gt;&gt; to the deprecated API that I was using w/ Seaside 2.6 (besides the<BR>
move from Webtoolkit to Opentalk)..<BR>
&gt;&gt;&gt;&gt; Anyway, in perusing the old mail messages from the list, it<BR>
&gt;&gt;&gt;&gt; appears&nbsp; that WAExternalFileLibrary may be the solution<BR>
&gt;&gt;&gt;&gt; I'm looking for but I'm stuck with trying to get it to work.&nbsp; I've<BR>
created a &quot;Files&quot; entry point as indicated and named it &quot;include&quot;.<BR>
Now, I've changed one of my image references to point to /seaside/<BR>
files/image.jpg but its never found.. The docs are very terse on the<BR>
usage.. Am I missing something?&nbsp; Where does the directory lie&nbsp; in the<BR>
filesystem for VW? I've tried the top-level VW directory along with<BR>
the 'image' subdirectory...&nbsp; Also, if I want to have one&nbsp; directory<BR>
w/ css and another with images how is that done? Thanks!<BR>
&gt;&gt;&gt;&gt; -- Rick<BR>
&gt;&gt;&gt; --<BR>
&gt;&gt;&gt; Magnus Schwarz * certified Scrum Master / Smalltalk architect *<BR>
<A HREF="mailto:magnus.schwarz@heeg.de">mailto:magnus.schwarz@heeg.de</A><BR>
&gt;&gt;&gt; phone:+49 231 97599-0 * fax:+49 231 97599-20<BR>
&gt;&gt;&gt; Georg Heeg eK Dortmund<BR>
&gt;&gt;&gt; Handelsregister: Amtsgericht Dortmund&nbsp; A 12812<BR>
&gt;&gt;&gt; ---------------------------------------------------<BR>
&gt;&gt;&gt; PGP PUBLIC KEY BLOCK via <A HREF="http://www.heeg.de/~magnus">http://www.heeg.de/~magnus</A><BR>
&gt;&gt;&gt; _______________________________________________<BR>
&gt;&gt;&gt; seaside mailing list<BR>
&gt;&gt;&gt; seaside@lists.squeakfoundation.org<BR>
&gt;&gt;&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt;&gt; _______________________________________________<BR>
&gt;&gt; seaside mailing list<BR>
&gt;&gt; seaside@lists.squeakfoundation.org<BR>
&gt;&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt;<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; seaside mailing list<BR>
&gt; seaside@lists.squeakfoundation.org<BR>
&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt;<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>