## In velocity, just use plain HTML. All commands are prepended by ## a hash sign, references to object are denoted by a dollar sign.

Hello everybody

This is a $myContentVariable example.

## This is a reference to the VelocityRenderDecorator which exposes ## some useful methods to the velocity container such as ## building links or instructions to render a sub-component... ## We'd like a link which triggers an event which will be dispatched by our ## HelloWorldController. The command is "sayhello" and the link will ## be displayd with text translated by the translator passed to the VelocityContainer ## and the key "sayhello_i18n_key" automatically.
This is the way to create a component link.

$r.render("say.hello")

## image example (resource from "webapp/static/images/..."). For pictures already available in OLAT.
University of Zurich
 
## image button example
$r.render("say.hello.xsmall")
 
$r.render("say.hello.small")
 
$r.render("say.hello")
 
## an example to you own pictures
A picture added by css style definition: See source how to reference the css file.