11<#assign itemCount = 0/ >
2- <#if parameters .list?? >
3- <@s.iterator value="parameters .list" >
2+ <#if attributes .list?? >
3+ <@s.iterator value="attributes .list" >
44 <#assign itemCount = itemCount + 1/ >
5- <#if parameters .listKey?? >
6- <#assign itemKey = stack.findValue(parameters .listKey)/ >
5+ <#if attributes .listKey?? >
6+ <#assign itemKey = stack.findValue(attributes .listKey)/ >
77 <#else >
88 <#assign itemKey = stack.findValue('top')/ >
99 </#if >
10- <#if parameters .listValue?? >
11- <#assign itemValue = stack.findString(parameters .listValue)?default("")/ >
10+ <#if attributes .listValue?? >
11+ <#assign itemValue = stack.findString(attributes .listValue)?default("")/ >
1212 <#else >
1313 <#assign itemValue = stack.findString('top')/ >
1414 </#if >
1515<#assign itemKeyStr=itemKey.toString() / >
16- <input type =" checkbox" name =" ${parameters .name?esc}" value =" ${itemKeyStr?esc}" id =" ${parameters .name?esc}-${itemCount}" <#rt />
17- <#if tag.contains(parameters .nameValue, itemKey) >
16+ <input type =" checkbox" name =" ${attributes .name?esc}" value =" ${itemKeyStr?esc}" id =" ${attributes .name?esc}-${itemCount}" <#rt />
17+ <#if tag.contains(attributes .nameValue, itemKey) >
1818 checked="checked"<#rt/ >
1919 </#if >
20- <#if parameters .disabled?default(false) >
20+ <#if attributes .disabled?default(false) >
2121 disabled="disabled"<#rt/ >
2222 </#if >
23- <#if parameters .title?? >
24- title="${parameters .title?esc } "<#rt/ >
23+ <#if attributes .title?? >
24+ title="${attributes .title?esc } "<#rt/ >
2525 </#if >
26- <#include "/${parameters .templateDir}/simple/scripting-events.ftl" / >
27- <#include "/${parameters .templateDir}/simple/common-attributes.ftl" / >
26+ <#include "/${attributes .templateDir}/simple/scripting-events.ftl" / >
27+ <#include "/${attributes .templateDir}/simple/common-attributes.ftl" / >
2828/>
29- <label for =" ${parameters .name?esc}-${itemCount}" style =" color :red ;font-weight :bold " >${itemValue?esc } </label > <br />
29+ <label for =" ${attributes .name?esc}-${itemCount}" style =" color :red ;font-weight :bold " >${itemValue?esc } </label > <br />
3030 </@s.iterator >
3131<#else >
3232   ;
3333</#if >
34- <input type =" hidden" id =" __multiselect_${parameters .id?esc}" name =" __multiselect_${parameters .name?esc}" value =" " <#rt />
35- <#if parameters .disabled?default(false) >
34+ <input type =" hidden" id =" __multiselect_${attributes .id?esc}" name =" __multiselect_${attributes .name?esc}" value =" " <#rt />
35+ <#if attributes .disabled?default(false) >
3636 disabled="disabled"<#rt/ >
3737</#if >
3838 />
0 commit comments