Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 1
<#--
2
/*
3
 * $Id: pom.xml 560558 2007-07-28 15:47:10Z apetrelli $
4
 *
5
 * Licensed to the Apache Software Foundation (ASF) under one
6
 * or more contributor license agreements.  See the NOTICE file
7
 * distributed with this work for additional information
8
 * regarding copyright ownership.  The ASF licenses this file
9
 * to you under the Apache License, Version 2.0 (the
10
 * "License"); you may not use this file except in compliance
11
 * with the License.  You may obtain a copy of the License at
12
 *
13
 *  http://www.apache.org/licenses/LICENSE-2.0
14
 *
15
 * Unless required by applicable law or agreed to in writing,
16
 * software distributed under the License is distributed on an
17
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
 * KIND, either express or implied.  See the License for the
19
 * specific language governing permissions and limitations
20
 * under the License.
21
 */
22
-->
23
 <script type="text/javascript">
24
        <!--
25
        dojo.require("dojo.lang.*");
26
        dojo.require("dojo.widget.*");
27
        dojo.require("dojo.widget.Tree");
28
        // dojo.hostenv.writeIncludes();
29
        -->
30
 </script>
31
<div dojoType="Tree"   
32
	<#if parameters.blankIconSrc?exists>
33
	gridIconSrcT="<@s.url value='${parameters.blankIconSrc}' encode="false" includeParams='none'/>"
34
	</#if>
35
	<#if parameters.gridIconSrcL?exists>
36
	gridIconSrcL="<@s.url value='${parameters.gridIconSrcL}' encode="false" includeParams='none'/>"
37
	</#if>
38
	<#if parameters.gridIconSrcV?exists>
39
	gridIconSrcV="<@s.url value='${parameters.gridIconSrcV}' encode="false" includeParams='none'/>"
40
	</#if>
41
	<#if parameters.gridIconSrcP?exists>
42
	gridIconSrcP="<@s.url value='${parameters.gridIconSrcP}' encode="false" includeParams='none'/>"
43
	</#if>
44
	<#if parameters.gridIconSrcC?exists>
45
	gridIconSrcC="<@s.url value='${parameters.gridIconSrcC}' encode="false" includeParams='none'/>"
46
	</#if>
47
	<#if parameters.gridIconSrcX?exists>
48
	gridIconSrcX="<@s.url value='${parameters.gridIconSrcX}' encode="false" includeParams='none'/>"
49
	</#if>
50
	<#if parameters.gridIconSrcY?exists>
51
	gridIconSrcY="<@s.url value='${parameters.gridIconSrcY}' encode="false" includeParams='none'/>"
52
	</#if>
53
	<#if parameters.gridIconSrcZ?exists>
54
	gridIconSrcZ="<@s.url value='${parameters.gridIconSrcZ}' encode="false" includeParams='none'/>"
55
	</#if>
56
	<#if parameters.expandIconSrcPlus?exists>
57
	expandIconSrcPlus="<@s.url value='${parameters.expandIconSrcPlus}' includeParams='none'/>"
58
	</#if>
59
	<#if parameters.expandIconSrcMinus?exists>
60
	expandIconSrcMinus="<@s.url value='${parameters.expandIconSrcMinus?html}' includeParams='none'/>"
61
	</#if>
62
	<#if parameters.iconWidth?exists>
63
	iconWidth="<@s.url value='${parameters.iconWidth?html}' encode="false" includeParams='none'/>"
64
	</#if>
65
	<#if parameters.iconHeight?exists>
66
	iconHeight="<@s.url value='${parameters.iconHeight?html}' encode="false" includeParams='none'/>"
67
	</#if>
68
	<#if parameters.toggleDuration?exists>
69
	toggleDuration=${parameters.toggleDuration?c}
70
	</#if>
71
	<#if parameters.templateCssPath?exists>
72
	templateCssPath="<@s.url value='${parameters.templateCssPath}' encode="false" includeParams='none'/>"
73
	</#if>
74
	<#if parameters.showGrid?exists>
75
	showGrid="${parameters.showGrid?default(true)?string}"
76
	</#if>
77
	<#if parameters.showRootGrid?exists>
78
	showRootGrid="${parameters.showRootGrid?default(true)?string}"
79
	</#if>
80
    <#if parameters.id?exists>
81
    id="${parameters.id?html}"
82
    </#if>
83
    <#if parameters.treeSelectedTopic?exists>
84
    publishSelectionTopic="${parameters.treeSelectedTopic?html}"
85
    </#if>
86
    <#if parameters.treeExpandedTopic?exists>
87
    publishExpandedTopic="${parameters.treeExpandedTopic?html}"
88
    </#if>
89
    <#if parameters.treeCollapsedTopic?exists>
90
    publishCollapsedTopic="${parameters.treeCollapsedTopic?html}"
91
    </#if>
92
    <#if parameters.toggle?exists>
93
    toggle="${parameters.toggle?html}"
94
    </#if>
95
    >
96
    <#if parameters.label?exists>
97
    <div dojoType="TreeNode" title="${parameters.label?html}"
98
    <#if parameters.nodeIdProperty?exists>
99
    id="${stack.findValue(parameters.nodeIdProperty)}"
100
    <#else>
101
    id="${parameters.id}_root"
102
    </#if>
103
    >
104
    <#elseif parameters.rootNode?exists>
105
    ${stack.push(parameters.rootNode)}
106
    <#include "/${parameters.templateDir}/ajax/treenode-include.ftl" />
107
    <#assign oldNode = stack.pop()/> <#-- pop the node off of the stack, but don't show it -->
108
    </#if>