I'm using a Content Repository (Adobe CQ5) that has Apache Sling underneath. I'd like to render web pages using velocity templates instead of JSP. i managed to add velocity script engine to felix console and now my velocity templates run. but im struck now and dunno how to proceed further..i would like to know how to pass java objects to velocity templates,where to place those java programs and how will the script engine detect it..pls help me if anyone is familiar with this situation.
Thanks in advance