-<#if parameters.leftTitle?exists><#t/>
+<#if parameters.leftTitle??><#t/>
#if><#t/>
@@ -40,19 +40,19 @@
<#if parameters.readonly?default(false)>
readonly="readonly"<#rt/>
#if>
-<#if parameters.tabindex?exists>
+<#if parameters.tabindex??>
tabindex="${parameters.tabindex?html}"<#rt/>
#if>
-<#if parameters.id?exists>
+<#if parameters.id??>
id="${parameters.id?html}_input"<#rt/>
#if>
-<#if parameters.cssClass?exists>
+<#if parameters.cssClass??>
class="${parameters.cssClass?html}"<#rt/>
#if>
-<#if parameters.cssStyle?exists>
+<#if parameters.cssStyle??>
style="${parameters.cssStyle?html}"<#rt/>
#if>
-<#if parameters.title?exists>
+<#if parameters.title??>
title="${parameters.title?html}"<#rt/>
#if>
<#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
@@ -64,57 +64,57 @@
|
<#assign addLabel=parameters.addLabel?default("->")?html /><#t/>
<#t/>
+ <#if parameters.buttonCssClass??><#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
- <#if parameters.buttonCssStyle?exists>
+ <#if parameters.buttonCssStyle??>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${addLabel}" onclick="addOption(document.getElementById('${parameters.id?html}_input'), document.getElementById('${parameters.id?html}'))" />
<#t/>
<#assign removeLabel=parameters.removeLabel?default("<-")?html /><#t/>
<#t/>
+ <#if parameters.buttonCssClass??><#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
- <#if parameters.buttonCssStyle?exists>
+ <#if parameters.buttonCssStyle??>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${removeLabel}" onclick="removeOptions(document.getElementById('${parameters.id?html}'))" />
<#t/>
<#assign removeAllLabel=parameters.removeAllLabel?default("<<--")?html /><#t/>
<#t/>
+ <#if parameters.buttonCssClass??><#t/>
class="${parameters.buttonCssClass?html}"
#if><#t/>
- <#if parameters.buttonCssStyle?exists>
+ <#if parameters.buttonCssStyle??>
style="${parameters.buttonCssStyle?html}"
#if><#t/>
value="${removeAllLabel}" onclick="removeAllOptions(document.getElementById('${parameters.id?html}'))" />
|
-<#if parameters.rightTitle?exists><#t/>
+<#if parameters.rightTitle??><#t/>
#if><#t/>
<#include "/${parameters.templateDir}/simple/select.ftl" />
<#if parameters.allowUpDown?default(true)>
+<#if parameters.headerKey??>
onclick="moveOptionDown(document.getElementById('${parameters.id}'), 'key', '${parameters.headerKey}');"
<#else>
onclick="moveOptionDown(document.getElementById('${parameters.id}'), 'key', '');"
#if>
-<#if parameters.downLabel?exists>
+<#if parameters.downLabel??>
value="${parameters.downLabel?html}"
#if>
/>
+<#if parameters.headerKey??>
onclick="moveOptionUp(document.getElementById('${parameters.id}'), 'key', '${parameters.headerKey}');"
<#else>
onclick="moveOptionUp(document.getElementById('${parameters.id}'), 'key', '');"
#if>
-<#if parameters.upLabel?exists>
+<#if parameters.upLabel??>
value="${parameters.upLabel?html}"
#if>
/>
diff --git a/core/src/main/resources/template/simple/label.ftl b/core/src/main/resources/template/simple/label.ftl
index 6d8c56edd..ff3c0e031 100644
--- a/core/src/main/resources/template/simple/label.ftl
+++ b/core/src/main/resources/template/simple/label.ftl
@@ -21,25 +21,25 @@
*/
-->
-<#if parameters.id?exists>
+<#if parameters.id??>
id="${parameters.id?html}"<#rt/>
#if>
-<#if parameters.cssClass?exists>
+<#if parameters.cssClass??>
class="${parameters.cssClass?html}"<#rt/>
#if>
-<#if parameters.cssStyle?exists>
+<#if parameters.cssStyle??>
style="${parameters.cssStyle?html}"<#rt/>
#if>
-<#if parameters.title?exists>
+<#if parameters.title??>
title="${parameters.title?html}"<#rt/>
#if>
-<#if parameters.for?exists>
+<#if parameters.for??>
for="${parameters.for?html}"<#rt/>
#if>
<#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
<#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />
><#rt/>
-<#if parameters.nameValue?exists>
+<#if parameters.nameValue??>
<@s.property value="parameters.nameValue"/><#t/>
#if>
\ No newline at end of file
diff --git a/core/src/main/resources/template/simple/optgroup.ftl b/core/src/main/resources/template/simple/optgroup.ftl
index b0d56a549..94afd6ce3 100644
--- a/core/src/main/resources/template/simple/optgroup.ftl
+++ b/core/src/main/resources/template/simple/optgroup.ftl
@@ -20,11 +20,11 @@
* under the License.
*/
-->
-<#if parameters.optGroupInternalListUiBeanList?exists>
+<#if parameters.optGroupInternalListUiBeanList??>
<#assign optGroupInternalListUiBeans=parameters.optGroupInternalListUiBeanList />
<#list optGroupInternalListUiBeans as optGroupInternalListUiBean>
|