GLOBE NEWS

GLOBE Side Navigation

An error occurred while processing the template.
The following has evaluated to null or missing:
==> $stringUtil  [in template "10132#10165#GLOBE-NEWS-TEMPLATE" at line 12, column 12]

----
Tip: Variable references must not start with "$", unless the "$" is really part of the variable name.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if (!$stringUtil.startsWith($news_ex...  [in template "10132#10165#GLOBE-NEWS-TEMPLATE" at line 12, column 5]
----
1<#assign  
2    date = getterUtil.getString(news_date.getData())  
3    dateObj = dateUtil.parseDate("MM/dd/yyyy", date, locale)  
4    dateFormatted = dateUtil.getDate(dateObj, "MMM dd, yyyy", locale) 
5/> 
6<br /> 
7<h2>${news_title.getData()}</h2> 
8<div class="contentDate">${dateFormatted}</div>  
9<br/> 
10${news_full_text.getData()} 
11<#if (news_external_url.getData() !="")> 
12    <#if (!$stringUtil.startsWith($news_external_url.getData(), "http://") && !$stringUtil.startsWith(news_external_url.getData(), "https://")) > 
13        <br/> 
14        <a href='http://${news_external_url.getData()}' target='_blank'>More&nbsp;&gt;&gt;</a> 
15        <br/> 
16    <#else> 
17        <br/> 
18        <a href='${news_external_url.getData()}' target='_blank'>More&nbsp;&gt;&gt;</a> 
19        <br/> 
20    </#if> 
21</#if> 
type: globe-news

News origin: GLOBE Implementation Office