Отображение сетевого контента

Решаем вместе
Не смогли записаться к врачу?

Отображение сетевого контента

Важно!

Блок с важной информацией 1

Телефон секретаря: +7 (49346) 2-10-07
Контакт-центр: +7 (49346) 2-11-07
Телефон отдела кадров: +7 (49346) 2-10-07

Блок с важной информацией 2

Главный врач Скороход Ольга Ивановна

Телефон: +7 (49346) 2-10-07
Служебный мобильный телефон: +7 (920) 360 92 71
Эл. почта: crbbuh@mail.ru
График приёма граждан

Отображение сетевого контента (Глобально)

Во время обработки запрошенного шаблона произошла ошибка...
No compatible overloaded variation was found; can't convert (unwrap) the 1st argument to the desired Java type.
The FTL type of the argument values were: string (wrapper: f.t.SimpleScalar), Null, extended_hash+string (Locale wrapped into f.e.b.StringModel), extended_hash+string (sun.util.calendar.ZoneInfo wrapped into f.e.b.StringModel).
The matching overload was searched among these members:
    com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale),
    com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale, TimeZone)

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${dateUtil.getDate(articleDisplayDate...  [in template "49392#49420#BASIC-WEB-CONTENT" at line 8, column 9]
----
1${content.getData()} 
2 
3<#assign articleModifiedDate = .vars["reserved-article-modified-date"].data/> 
4<#assign articleDisplayDate = .vars["reserved-article-display-date"].data /> 
5 
6<div style="display:none"> 
7    <div class="avo_created_data_source"> 
8        ${dateUtil.getDate(articleDisplayDate, displayDateFormat, locale, timeZone)} 
9    </div> 
10    <div class="avo_modified_data_source"> 
11        ${dateUtil.getDate(articleModifiedDate, displayDateFormat, locale, timeZone)} 
12    </div> 
13</div> 
14 
15 
16<#function translate locale key dafultValues> 
17  <#assign translation = languageUtil.get(locale, key)/> 
18  <#if translation = key & dafultValues[locale]??> 
19    <#return dafultValues[locale]> 
20  </#if> 
21  <#return translation> 
22</#function> 

RSS

RSS

06 июля 2021 в 15:54
23 июля 2021 в 16:55

Отображение сетевого контента (Глобально)

Во время обработки запрошенного шаблона произошла ошибка...
No compatible overloaded variation was found; can't convert (unwrap) the 1st argument to the desired Java type.
The FTL type of the argument values were: string (wrapper: f.t.SimpleScalar), Null, extended_hash+string (Locale wrapped into f.e.b.StringModel), extended_hash+string (sun.util.calendar.ZoneInfo wrapped into f.e.b.StringModel).
The matching overload was searched among these members:
    com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale),
    com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale, TimeZone)

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${dateUtil.getDate(articleDisplayDate...  [in template "49392#49420#BASIC-WEB-CONTENT" at line 8, column 9]
----
1${content.getData()} 
2 
3<#assign articleModifiedDate = .vars["reserved-article-modified-date"].data/> 
4<#assign articleDisplayDate = .vars["reserved-article-display-date"].data /> 
5 
6<div style="display:none"> 
7    <div class="avo_created_data_source"> 
8        ${dateUtil.getDate(articleDisplayDate, displayDateFormat, locale, timeZone)} 
9    </div> 
10    <div class="avo_modified_data_source"> 
11        ${dateUtil.getDate(articleModifiedDate, displayDateFormat, locale, timeZone)} 
12    </div> 
13</div> 
14 
15 
16<#function translate locale key dafultValues> 
17  <#assign translation = languageUtil.get(locale, key)/> 
18  <#if translation = key & dafultValues[locale]??> 
19    <#return dafultValues[locale]> 
20  </#if> 
21  <#return translation> 
22</#function>