RE: Skinner Module

"Anthony Eden" <[email protected]> Thu, 7 Nov 2002 16:24:40 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <000001c286a4$1605c2b0$0501000a@mobile1>
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:[email protected]] 
> 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" <[email protected]>
> To: <[email protected]>
> 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/
> > [email protected]
> > 
> > Reduce. Reuse. Relax.
> > 
> 
> 



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en