Make sure that if you are using relative URLs in your templates to
include $request.ContextPath before the path:
<img src="${request.ContextPath}/images/myImage.gif">
Would look for the image file at /static/images/myImage.gif
If that doesn't work then perhaps you can send me some example templates
and content.
Sincerely,
Anthony Eden
> -----Original Message-----
> From: a2k [mailto:a2k@...]
> Sent: Thursday, November 07, 2002 3:07 PM
> To: Anthony Eden
> Cc: 'jpublish-developer'
> Subject: Re: [JPublish-developer] Skinner Module
>
>
> Hi Anthony
>
> Thanks. The Skinner module works quite well.
>
> However, when I use skinning the first time the reference to
> .gif images in the /static folder goes away in pages that
> use skinning.
>
>
> Gruss
> Andreas
>
>
>
> ----- Original Message -----
> From: "Anthony Eden" <me@...>
> To: <jpublish-developer@...>
> Sent: Tuesday, November 05, 2002 4:52 AM
> Subject: [JPublish-developer] Skinner Module
>
>
> > I have checked in a new module in the CVS: the Skinner module. The
> > Skinner module provides actions to allow the user to store
> a template
> > name in the session and then apply that template as a skin for the
> > site on each request.
> >
> > This module provides two actions:
> >
> > skinner.apply - Invoke this to apply the current skinner.skin
> > value in session
> >
> > skinner.change - Invoke this execution with the parameter
> > skinner.skin to change the current template
> > name in the session
> >
> >
> > You will need to build JPublish from CVS since this module uses
> > features from the upcoming JPublish 1.4 release. See the example
> > included for usage.
> >
> > Sincerely,
> > Anthony Eden
> >
> > -----------
> > Aetrion LLC
> > http://www.aetrion.com/
> > aeden@...
> >
> > Reduce. Reuse. Relax.
> >
>
>
|