Calling scripts, services and navigation links

Description :

Whenever you have to write code form a model, you'll have to access to its elements. You can access model elements, scripts or services directly from a template and mix this calls very easily and naturally with Acceleo.

Syntax :

A call starts with <% (or [%) and end with %> (or %]).
You can access meta-models links, other scripts or Java services.
You can chain any combination of calls, provided it has a correct meaning.
When calling scripts or services, you can pass parameters.

Example :