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;
public void doBuildTemplate(RunData data , Context context) throws
Exception
{
context.put("content", new ContentURI());
}
With velocity to, you can add a paddle to the reference and it wont echo to
screen if it isnt found.
$!content.getURI("images/imagename.jpg");
Hope that helps.
Cameron Riley
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]