All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
template.simple.optiontransferselect.ftl Maven / Gradle / Ivy
<#if !stack.findValue("#optiontransferselect_js_included")?exists><#t/>
">
<#assign temporaryVariable = stack.setValue("#optiontransferselect_js_included", "true") /><#t/>
#if><#t/>
<#if parameters.leftTitle?exists><#t/>
${parameters.leftTitle}
#if><#t/>
<#include "/${parameters.templateDir}/simple/select.ftl" />
<#if parameters.allowAddToLeft?default(true)><#t/>
<#assign addToLeftLabel = parameters.addToLeftLabel?default("<-")?html/><#t/>
<#if parameters.doubleHeaderKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addToLeftLabel}" onclick="moveSelectedOptions(document.getElementById('${parameters.doubleId?html}'), document.getElementById('${parameters.id?html}'), false, '${parameters.doubleHeaderKey}', '')" />
<#else><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addToLeftLabel}" onclick="moveSelectedOptions(document.getElementById('${parameters.doubleId?html}'), document.getElementById('${parameters.id?html}'), false, '')" />
#if><#t/>
#if><#t/>
<#if parameters.allowAddToRight?default(true)><#t/>
<#assign addToRightLabel=parameters.addToRightLabel?default("->")?html /><#t/>
<#if parameters.headerKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addToRightLabel}" onclick="moveSelectedOptions(document.getElementById('${parameters.id?html}'), document.getElementById('${parameters.doubleId?html}'), false, '${parameters.headerKey}', '')" />
<#else><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addToRightLabel}" onclick="moveSelectedOptions(document.getElementById('${parameters.id?html}'), document.getElementById('${parameters.doubleId?html}'), false, '')" />
#if><#t/>
#if><#t/>
<#if parameters.allowAddAllToLeft?default(true)><#t/>
<#assign addAllToLeftLabel=parameters.addAllToLeftLabel?default("<<--")?html /><#t/>
<#if parameters.doubleHeaderKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle}"
#if><#t/>
value="${addAllToLeftLabel}" onclick="moveAllOptions(document.getElementById('${parameters.doubleId?html}'), document.getElementById('${parameters.id?html}'), false, '${parameters.doubleHeaderKey}', '')" />
<#else><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addAllToLeftLabel}" onclick="moveAllOptions(document.getElementById('${parameters.doubleId?html}'), document.getElementById('${parameters.id?html}'), false, '')" />
#if><#t/>
#if><#t/>
<#if parameters.allowAddAllToRight?default(true)><#t/>
<#assign addAllToRightLabel=parameters.addAllToRightLabel?default("-->>")?html /><#t/>
<#if parameters.headerKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addAllToRightLabel}" onclick="moveAllOptions(document.getElementById('${parameters.id?html}'), document.getElementById('${parameters.doubleId?html}'), false, '${parameters.headerKey}', '')" />
<#else><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addAllToRightLabel}" onclick="moveAllOptions(document.getElementById('${parameters.id?html}'), document.getElementById('${parameters.doubleId?html}'), false, '')" />
#if><#t/>
#if><#t/>
<#if parameters.allowSelectAll?default(true)><#t/>
<#assign selectAllLabel=parameters.selectAllLabel?default("<*>")?html /><#t/>
<#if parameters.headerKey?exists && parameters.doubleHeaderKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${selectAllLabel}" onclick="selectAllOptionsExceptSome(document.getElementById('${parameters.id?html}'), 'key', '${parameters.headerKey}');selectAllOptionsExceptSome(document.getElementById('${parameters.doubleId?html}'), 'key', '${parameters.doubleHeaderKey}');" />
<#elseif parameters.headerKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${selectAllLabel}" onclick="selectAllOptionsExceptSome(document.getElementById('${parameters.id?html}'), 'key', '${parameters.headerKey}');selectAllOptions(document.getElementById('${parameters.doubleId?html}'));" />
<#elseif parameters.doubleHeaderKey?exists><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${selectAllLabel}" onclick="selectAllOptions(document.getElementById('${parameters.id?html}'));selectAllOptionsExceptSome(document.getElementById('${parameters.doubleId?html}'), 'key', '${parameters.doubleHeaderKey}');" />
<#else><#t/>
<#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
<#if parameters.buttonCssStyle?exists><#t/>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${selectAllLabel}" onclick="selectAllOptions(document.getElementById('${parameters.id?html}'));selectAllOptions(document.getElementById('${parameters.doubleId?html}'));" />
#if><#t/>
#if><#t/>
<#if parameters.rightTitle?exists><#t/>
${parameters.rightTitle}
#if><#t/>
<#t/>
size="${parameters.get("doubleSize")?html}"
#if><#t/>
<#if parameters.doubleDisabled?default(false)><#t/>
disabled="disabled"
#if><#t/>
<#if parameters.doubleMultiple?default(false)><#t/>
multiple="multiple"
#if><#t/>
<#if parameters.doubleTabindex?exists><#t/>
tabindex="${parameters.tabindex?html}"
#if><#t/>
<#if parameters.doubleId?exists><#t/>
id="${parameters.doubleId?html}"
#if><#t/>
<#if parameters.doubleCssClass?exists><#t/>
class="${parameters.doubleCssClass?html}"
#if><#t/>
<#if parameters.doubleCssStyle?exists><#t/>
style="${parameters.doubleCssStyle?html}"
#if><#t/>
<#if parameters.doubleOnclick?exists><#t/>
onclick="${parameters.doubleOnclick?html}"
#if><#t/>
<#if parameters.doubleOndblclick?exists><#t/>
ondblclick="${parameters.doubleOndblclick?html}"
#if><#t/>
<#if parameters.doubleOnmousedown?exists><#t/>
onmousedown="${parameters.doubleOnmousedown?html}"
#if><#t/>
<#if parameters.doubleOnmouseup?exists><#t/>
onmouseup="${parameters.doubleMnmouseup?html}"
#if><#t/>
<#if parameters.doubleOnmousemove?exists><#t/>
onmousemove="${parameters.doubleOnmousemove?html}"
#if><#t/>
<#if parameters.doubleOnmouseout?exists><#t/>
onmouseout="${parameters.doubleOnmouseout?html}"
#if><#t/>
<#if parameters.doubleOnfocus?exists><#t/>
onfocus="${parameters.doubleOnfocus?html}"
#if><#t/>
<#if parameters.doubleOnblur?exists><#t/>
onblur="${parameters.doubleOnblur?html}"
#if><#t/>
<#if parameters.doubleOnkeypress?exists><#t/>
onkeypress="${parameters.doubleOnkeypress?html}"
#if><#t/>
<#if parameters.doubleOnKeydown?exists><#t/>
onkeydown="${parameters.doubleOnkeydown?html}"
#if><#t/>
<#if parameters.doubleOnkeyup?exists><#t/>
onkeyup="${parameters.doubleOnkeyup?html}"
#if><#t/>
<#if parameters.doubleOnselect?exists><#t/>
onselect="${parameters.doubleOnselect?html}"
#if><#t/>
<#if parameters.doubleOnchange?exists><#t/>
onchange="${parameters.doubleOnchange?html}"
#if><#t/>
<#if parameters.doubleAccesskey?exists><#t/>
accesskey="${parameters.doubleAccesskey}"
#if><#t/>
>
<#if parameters.doubleHeaderKey?exists && parameters.doubleHeaderValue?exists><#t/>
${parameters.doubleHeaderValue?html}
#if><#t/>
<#if parameters.doubleEmptyOption?default(false)><#t/>
#if><#t/>
<@ww.iterator value="parameters.doubleList"><#t/>
<#if parameters.doubleListKey?exists><#t/>
<#assign doubleItemKey = stack.findValue(parameters.doubleListKey) /><#t/>
<#else><#t/>
<#assign doubleItemKey = stack.findValue('top') /><#t/>
#if><#t/>
<#assign doubleItemKeyStr = doubleItemKey.toString() /><#t/>
<#if parameters.doubleListValue?exists><#t/>
<#assign doubleItemValue = stack.findString(parameters.doubleListValue) /><#t/>
<#else><#t/>
<#assign doubleItemValue = stack.findString('top') /><#t/>
#if><#t/>
<#if tag.contains(parameters.doubleNameValue, doubleItemKey)><#t/>
selected="selected"<#rt/>
#if><#t/>
>${doubleItemValue?html}<#lt/>
@ww.iterator><#t/>