Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6 | Andrea | 1 | <#-- |
2 | /* |
||
3 | * $Id: Action.java 502296 2007-02-01 17:33:39Z niallp $ |
||
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 | <@s.iterator value="parameters.list"> |
||
24 | <#if parameters.listKey?exists> |
||
25 | <#assign itemKey = stack.findValue(parameters.listKey)/> |
||
26 | <#else> |
||
27 | <#assign itemKey = stack.findValue('top')/> |
||
28 | </#if> |
||
29 | <#assign itemKeyStr = itemKey.toString() /> |
||
30 | <#if parameters.listValue?exists> |
||
31 | <#assign itemValue = stack.findString(parameters.listValue)/> |
||
32 | <#else> |
||
33 | <#assign itemValue = stack.findString('top')/> |
||
34 | </#if> |
||
35 | <input type="radio"<#rt/> |
||
36 | <#if parameters.name?exists> |
||
37 | name="${parameters.name?html}"<#rt/> |
||
38 | </#if> |
||
39 | id="${parameters.id?html}${itemKeyStr?html}"<#rt/> |
||
40 | <#if tag.contains(parameters.nameValue?default(''), itemKeyStr)> |
||
41 | checked="checked"<#rt/> |
||
42 | </#if> |
||
43 | <#if itemKey?exists> |
||
44 | value="${itemKeyStr?html}"<#rt/> |
||
45 | </#if> |
||
46 | <#if parameters.disabled?default(false)> |
||
47 | disabled="disabled"<#rt/> |
||
48 | </#if> |
||
49 | <#if parameters.tabindex?exists> |
||
50 | tabindex="${parameters.tabindex?html}"<#rt/> |
||
51 | </#if> |
||
52 | <#if parameters.cssClass?exists> |
||
53 | class="${parameters.cssClass?html}"<#rt/> |
||
54 | </#if> |
||
55 | <#if parameters.cssStyle?exists> |
||
56 | style="${parameters.cssStyle?html}"<#rt/> |
||
57 | </#if> |
||
58 | <#if parameters.title?exists> |
||
59 | title="${parameters.title?html}"<#rt/> |
||
60 | </#if> |
||
61 | <#include "/${parameters.templateDir}/simple/scripting-events.ftl" /> |
||
62 | <#include "/${parameters.templateDir}/simple/common-attributes.ftl" /> |
||
63 | /><#rt/> |
||
64 | <label for="${parameters.id?html}${itemKeyStr?html}"><#rt/> |
||
65 | ${itemValue}<#t/> |
||
66 | </label> |
||
67 | </@s.iterator> |