hi,
Just compiled the latest version of turbine and
<img src="$content.getURI("images/turbine.gif")">
works as desired ;-) Thanx guys
One more question regarding apidocs, up until now I've been using javadoc to
make the documentation from the src code, is there an easier way of doing
this?
colin
> "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]
>
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]