![]() |
||
|
||
![]() |
<transform transVar> ... </transform> or <transform transVar name1=value1 name2=value2 ... nameN=valueN> ... </transform>
Where:
This directive is still working, but deprecated. You may want to read about user-defined directive calls to see the replacement.
Captures the output generated inside its body (i.e. between its start-tag and end-tag), and let the given transform modify it before it is written to the final output.
Example:
![]() | ![]() | ![]() | |
![]() |
| ![]() | |
![]() | ![]() | ![]() |
the output will be:
![]() | ![]() | ![]() | |
![]() |
| ![]() | |
![]() | ![]() | ![]() |
Some transforms may take parameters. The name and meaning of parameters depends on the transform in question. For example here we give a parameter called ``var'':
![]() | ![]() | ![]() | |
![]() |
| ![]() | |
![]() | ![]() | ![]() |
It is the task of the programmers to put the necessary transforms into the data model. For the name and usage of accessible transforms ask the programmers. Initially there is a shared variable for most transforms in the freemarker.template.utility package. For more information see: Programmer's Guide/Configuration/Shared variables
![]() |
||
|
||
![]() |
![]() |
|
Page generated: 2004-06-15 22:17:59 GMT | FreeMarker Manual -- For FreeMarker 2.3 |