On Thu, Sep 07, 2000 at 12:26:34AM +0200, Rafal Krzewski wrote:
> Frank Conradie wrote:
> I think that this is not the clearest solution. I'd prefer to keep my resources
> in the same context as the project.
Indeed.
> The problem is that you need to dynamically
> add context name in fron of your resource URLs, because you don't want it
> staticaly sewed up in your templates, do you.
> Lately Sean Legassick & John McNally were discussing something like
>
> <img src="$link.setStaticContent("/images/logo.gif")">
>
> but AFAIK it didn't make it to the CVS yet.
Yes - actually I'm going to write a StaticURI class put in the webcontext
as $staticLink. Feel free to hassle me if I don't commit it soon... :-)
--
Sean Legassick
[EMAIL PROTECTED]
homo sum: humani nihil a me alienum puto
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]