On Nov 30, 2007 10:56 AM, Prabhu Patil <[EMAIL PROTECTED]> wrote:
> Dave,
> I'm struggling with the code that's needed to access this new Data Model
> object.
>
> I have added a new class by name AVCheck that has a public method called
> checkAV.
>
> I updated various properties in roller-custom.properties with my new
> class.
>
> Now, I changed the Weblog template to add following code:
> #$AVCheck.checkAV('http://stage.millerliteracing.com/av.do')
>
>
> However Roller does not seem to like this code. ( I have also tried
> #$aVCheck.checkAV('http://stage.millerliteracing.com/av.do'))
>
> Could you help?

Read up on the Velocity Template Language:
http://velocity.apache.org/engine/releases/velocity-1.5/vtl-reference-guide.html
http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html

And Roller Template authoring via the Template Guide:
http://cwiki.apache.org/confluence/display/ROLLER/Roller+User+Documentation

Those should answer your questions.

- Dave

Reply via email to