Salta al contenuto Salta al menu'

Statuto della Regione Toscana

Si e' verificato un errore nell'elaborarazione del modello.
Unable to find resource '10154#10180#24305'
1## 
2## Velocity Transform Template 
3## 
4## All dynamic elements in a structure can be accessed as a Velocity variable. 
5## 
6## The given structure: 
7## 
8## <root> 
9##   <dynamic-element name="main-text" type="text_area"> 
10##     <dynamic-element name="sub-image" type="image"></dynamic-element> 
11##     <dynamic-element name="sub-text" type="text"></dynamic-element> 
12##   </dynamic-element> 
13##   <dynamic-element name="more-text" type="text_area"></dynamic-element> 
14##   <dynamic-element name="ms-list" type="multi-list"> 
15##     <dynamic-element name="chocolate" type="Chocolate"></dynamic-element> 
16##     <dynamic-element name="strawberry" type="Strawberry"></dynamic-element> 
17##     <dynamic-element name="vanilla" type="Vanilla"></dynamic-element> 
18##   </dynamic-element> 
19## </root> 
20## 
21## The dynamic element "main-text" can be accessed in the following ways: 
22## 
23## $main-text.getName()     - The name "main-text" 
24## $main-text.getData()     - The data in the article for main-text 
25## $main-text.getType()     - The type "text-area" 
26## $main-text.getChildren() - A collection with two nodes (sub-image and 
27##                            sub-text) that can be used in the #foreach clause 
28## $main-text.getSiblings() - A collection of elements with the name 
29##                            "main-text". This will only return more than one 
30##                            element if this element is repeatable. 
31## 
32## One special accessor exists for elements of type "multi-list": 
33## 
34## $ms-list.getOptions() - A collection with up to three string entries 
35##                         (chocolate, strawberry, or vanilla) that can be used 
36##                         in the #foreach clause 
37## 
38## Another special accessor exists for elements of type "link_to_layout": 
39## 
40## $linkToPage.getUrl() - The URL that links to the selected page in the current 
41##                        site. 
42## 
43## The variable $journalTemplatesPath can be used to include another Journal 
44## template, e.g. #parse ("$journalTemplatesPath/LAYOUT-PARENT") 
45## 
46## The variable $viewMode specifies which mode the article is being viewed in. 
47## For example, if $viewMode evaluates to "print", that means the user clicked 
48## the print icon to view this article. 
49## 
50 
51## Inserire qui il template per la struttura 
52#if ($Occhiello.data and $Occhiello.data!='null') 
53<div class="content_top_title"> 
54$Occhiello.data 
55</div> 
56#end 
57 
58<div class="testoTitolo"><h2> 
59$reserved-article-title.data 
60</h2></div> 
61 
62#if ($Sottotitolo.data and $Sottotitolo.data!='null') 
63<div class="content_h3"> 
64$Sottotitolo.data 
65</div> 
66#end 
67 
68<div class="content_para"> 
69$Testo.data 
70</div> 
71<!-- 
72<div align="right"> 
73<i>Ultima modifica: $reserved-article-modified-date.data - Id: $reserved-article-id.data</i> 
74</div> 
75--> 

Ultima modifica: 07/04/2016 17:59:10 - Id: 275801