Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 962:2de1808503be
Datacage template: Added a macro mechanism.
flys-artifacts/trunk@2381 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 20:51:13 +0000 |
parents | 3ba4f5a88c20 |
children | f48cef242e7f |
comparison
equal
deleted
inserted
replaced
961:3ba4f5a88c20 | 962:2de1808503be |
---|---|
1 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
4 Added a macro mechanism: | |
5 | |
6 <dc:macro name="keine-fuenf"> | |
7 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
8 </dc:macro> | |
9 <dc:call-macro name="keine-fuenf"/> | |
10 <dc:call-macro name="keine-fuenf"/> | |
11 <dc:call-macro name="keine-fuenf"/> | |
12 | |
13 Macros can be defined everywhere in the template | |
14 with 'macro'. There bodies can contain all valid elements | |
15 including other 'macro's and 'call-macro's. They are | |
16 called with their 'name' with 'call-macro'. The control flow | |
17 is continued inside the body of the called macro and | |
18 will continue right after the calling 'call-macro' when | |
19 the macro body is finished. | |
20 | |
1 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 21 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 22 |
3 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | 23 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: |
4 Added a new 'if' construct similiar to XSLT: | 24 Added a new 'if' construct similiar to XSLT: |
5 | 25 |