"Riley, Cameron" wrote:
> 
> Colin,
> 
> >warning: attempt to write out undefined variable
> >content.getURI(/images/logo.gif): java.lang.NullPointerException
> 
> Sounds like it is not present in the Context, you have to add it to the
> context in the doBuildTemplate method of your screen class hierarchy. For
> example;

Hey, I just looked into CVS versions of WebMacroService and
VelocityService
and they are both stuffing ContentURI object into the context under the 
key 'content'.

TurbineWebMacroService.java, line 180
TurbineVelocityService.java, line 164

Are you sure your Turbine sources are up to date?

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to