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
<select dojoType="struts:ComboBox"<#rt/>
24
<#if parameters.id?if_exists != "">
25
 id="${parameters.id?html}"<#rt/>
26
</#if>
27
<#if parameters.cssClass?if_exists != "">
28
 class="${parameters.cssClass?html}"<#rt/>
29
</#if>
30
<#if parameters.cssStyle?if_exists != "">
31
 style="${parameters.cssStyle?html}"<#rt/>
32
</#if>
33
<#if parameters.href?if_exists != "">
34
 dataUrl="${parameters.href}"<#rt/>
35
</#if>
36
<#if parameters.forceValidOption?exists>
37
 forceValidOption="${parameters.forceValidOption?string?html}"<#rt/>
38
</#if>
39
<#if parameters.searchType?if_exists != "">
40
 searchType="${parameters.searchType}"<#rt/>
41
</#if>
42
<#if parameters.autoComplete?exists>
43
 autoComplete="${parameters.autoComplete?string?html}"<#rt/>
44
</#if>
45
<#if parameters.delay?exists>
46
 searchDelay="${parameters.delay?c}"<#rt/>
47
</#if>
48
<#if parameters.disabled?exists>
49
 disabled="${parameters.disabled?string?html}"<#rt/>
50
</#if>
51
<#if parameters.dropdownWidth?exists>
52
 dropdownWidth="${parameters.dropdownWidth?c}"<#rt/>
53
</#if>
54
<#if parameters.dropdownHeight?exists>
55
 dropdownHeight="${parameters.dropdownHeight?c}"<#rt/>
56
</#if>
57
<#if parameters.name?if_exists != "">
58
 name="${parameters.name?html}"<#rt/>
59
</#if>
60
<#if parameters.keyName?if_exists != "">
61
 keyName="${parameters.keyName?html}"<#rt/>
62
</#if>
63
<#if parameters.get("size")?exists>
64
 size="${parameters.get("size")?html}"<#rt/>
65
</#if>
66
<#if parameters.maxlength?exists>
67
 maxlength="${parameters.maxlength?string?html}"<#rt/>
68
</#if>
69
<#if parameters.nameValue?if_exists != "">
70
 initialValue="${parameters.nameValue}"<#rt/>
71
</#if>
72
<#if parameters.key?if_exists != "">
73
 initialKey="${parameters.key}"<#rt/>
74
</#if>
75
<#if parameters.readonly?default(false)>
76
 readonly="readonly"<#rt/>
77
</#if>
78
<#if parameters.tabindex?exists>
79
 tabindex="${parameters.tabindex?html}"<#rt/>
80
</#if>
81
<#if parameters.formId?if_exists != "">
82
 formId="${parameters.formId?html}"<#rt/>
83
</#if>
84
<#if parameters.formFilter?if_exists != "">
85
 formFilter="${parameters.formFilter?html}"<#rt/>
86
</#if>
87
<#if parameters.listenTopics?if_exists != "">
88
 listenTopics="${parameters.listenTopics?html}"<#rt/>
89
</#if>
90
<#if parameters.notifyTopics?if_exists != "">
91
 notifyTopics="${parameters.notifyTopics?html}"<#rt/>
92
</#if>
93
<#if parameters.iconPath?if_exists != "">
94
 buttonSrc="<@s.url value='${parameters.iconPath}' encode="false" includeParams='none'/>"<#rt/>
95
</#if>
96
<#if parameters.templateCssPath?if_exists != "">
97
 templateCssPath="<@s.url value='${parameters.templateCssPath}' encode="false" includeParams='none'/>"
98
</#if>
99
<#if parameters.searchLimit?if_exists != "">
100
 searchLimit="${parameters.searchLimit?html}"
101
</#if>
102
<#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
103
>
104
<#if parameters.list?exists>
105
	<#if (parameters.headerKey?exists && parameters.headerValue?exists)>
106
		<option value="${parameters.headerKey?html}">${parameters.headerValue?html}</option>
107
	</#if>
108
	<#if parameters.emptyOption?default(false)>
109
	    <option value=""></option>
110
	</#if>
111
    <@s.iterator value="parameters.list">
112
    <#if parameters.listKey?exists>
113
    	<#assign tmpListKey = stack.findString(parameters.listKey) />
114
    <#else>
115
    	<#assign tmpListKey = stack.findString('top') />
116
    </#if>
117
    <#if parameters.listValue?exists>
118
    	<#assign tmpListValue = stack.findString(parameters.listValue) />
119
    <#else>
120
    	<#assign tmpListValue = stack.findString('top') />
121
    </#if>
122
    <option value="${tmpListKey?html}"<#rt/>
123
        <#if (parameters.nameValue?exists && parameters.nameValue == tmpListKey)>
124
 selected="selected"<#rt/>
125
        </#if>
126
    ><#t/>
127
            ${tmpListValue?html}<#t/>
128
    </option><#lt/>
129
    </@s.iterator>
130
</#if>
131
</select>