diff --git a/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl b/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl index f78e609534..b5882f7955 100644 --- a/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl +++ b/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl @@ -19,9 +19,9 @@ under the License. - <#assign firstRecord = records[0]?if_exists/> + <#assign firstRecord = records[0]!/> <#list columnNames as columnName> - class="align-text"> + class="align-text"> ${columnName} diff --git a/framework/common/webcommon/error.fo.ftl b/framework/common/webcommon/error.fo.ftl index db380b9e42..39a5f47400 100644 --- a/framework/common/webcommon/error.fo.ftl +++ b/framework/common/webcommon/error.fo.ftl @@ -54,7 +54,7 @@ under the License. - <#if logoImageUrl?exists> + <#if logoImageUrl??> @@ -71,7 +71,7 @@ under the License. ${uiLabelMap.CommonUsername} - <#if userLogin?exists>${userLogin.userLoginId?if_exists} + <#if userLogin??>${userLogin.userLoginId!} @@ -79,7 +79,7 @@ under the License. ${uiLabelMap.CommonDate} - ${nowTimestamp?if_exists} + ${nowTimestamp!} @@ -100,7 +100,7 @@ under the License. ${uiLabelMap.CommonFollowingErrorsOccurred}: - ${errorMessage?if_exists} + ${errorMessage!} diff --git a/framework/common/webcommon/forgotPassword.ftl b/framework/common/webcommon/forgotPassword.ftl index 47a8e30b92..7d10fb4e2f 100644 --- a/framework/common/webcommon/forgotPassword.ftl +++ b/framework/common/webcommon/forgotPassword.ftl @@ -23,7 +23,7 @@ under the License.

${uiLabelMap.CommonForgotYourPassword}?

-
+
diff --git a/framework/common/webcommon/includes/ViewCertificate.ftl b/framework/common/webcommon/includes/ViewCertificate.ftl index a5dbd1a583..ccad1aa37c 100644 --- a/framework/common/webcommon/includes/ViewCertificate.ftl +++ b/framework/common/webcommon/includes/ViewCertificate.ftl @@ -17,7 +17,7 @@ specific language governing permissions and limitations under the License. --> -<#assign components = Static["org.ofbiz.base.component.ComponentConfig"].getAllComponents()?if_exists/> +<#assign components = Static["org.ofbiz.base.component.ComponentConfig"].getAllComponents()!/> <#if (requestParameters.certString?has_content)> <#assign cert = Static["org.ofbiz.base.util.KeyStoreUtil"].pemToCert(requestParameters.certString)/> @@ -49,7 +49,7 @@ under the License. <#list components as component> - <#assign keystores = component.getKeystoreInfos()?if_exists/> + <#assign keystores = component.getKeystoreInfos()!/> <#list keystores as store> <#if (store.isTrustStore())> diff --git a/framework/common/webcommon/includes/ajaxAutocompleteOptions.ftl b/framework/common/webcommon/includes/ajaxAutocompleteOptions.ftl index 859683ebb2..98fc752d3c 100644 --- a/framework/common/webcommon/includes/ajaxAutocompleteOptions.ftl +++ b/framework/common/webcommon/includes/ajaxAutocompleteOptions.ftl @@ -16,12 +16,12 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<#if description?exists> - <#if autocompleteOptions?exists> +<#if description??> + <#if autocompleteOptions??> <#list autocompleteOptions as autocompleteOption> <#assign displayString = ""/> <#list displayFieldsSet as key> - <#assign field = autocompleteOption.get(key)?if_exists> + <#assign field = autocompleteOption.get(key)!> <#if field?has_content> <#if (key != context.returnField)> <#assign displayString = displayString + field + " "> @@ -35,7 +35,7 @@ under the License.
${uiLabelMap.CommonUsername}