May I suggest that you consider using Soy templates instead of Velocity? Soy templates are used by the newer Atlassian products, and I believe the plan is to use them in new features added to JIRA and Confluence. In any case, Atlassian appears to be moving towards Soy and away from Velocity.
There is a suitable tutorial on using Soy templates in Confluence.
The documentation for Soy templates is published by Google.
If you insist on using Velocity, then the Velocity User Guide will be very handy, as will the Velocity Template Overview for Confluence.
Oh yes, I can recommend that tutorial on Soy templates ;)
Full source code is available for it here:
https://bitbucket.org/appfusions/confluence-tutorial-soy-templates
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Generally, you'll want to create a plugin to bundle all your code together and make it interact. Your other questions mention Confluence, so I'd start at https://developer.atlassian.com/display/CONFDEV/Confluence+Plugin+Guide
Even if this is not the right approach for your answer, the process of working through writing a plugin will teach you the basic stuff you need to understand to write code for Confluence, especially how java and velocity interact
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.