## 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")

$r.render("open.form") ## an example to you own pictures in yourExtension/raw ## wie bringe ich ein bild aus dem raw order hier rein ohne button??