Speeches
Speeches and Statements
President's speeches
Manual Submenu Topics
Search Results Filters
搜尋結果
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
14
十二月
02
十二月
01
十二月
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>
處理範本時發生錯誤。
Range end index 2 is out of bounds, because the sliced string has only 2 character(s). (Note that indices are 0-based). The blamed expression: ==> 0..2 [in template "10154#10192#SPEECH_ROW" at line 43, column 69] ---- FTL stack trace ("~" means nesting-related): - Failed at: ${(date_month!"err")[0..2]?upperCase} [in template "10154#10192#SPEECH_ROW" at line 43, column 48] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")>
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")>
6<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")>
7<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")>
8<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" />
9
10<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)>
11<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
12
13<#assign publicationDate = article.getExpandoBridge().getAttribute("publicationDate")>
14
15<#if publicationDate??>
16 <#assign date_day = dateUtil.getDate(publicationDate, "dd", locale)>
17 <#assign date_month = dateUtil.getDate(publicationDate, "MMMM", locale)>
18</#if>
19
20<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)>
21
22<#assign articleUrl = "">
23
24<#if abstract_link?? && abstract_link.getData()?hasContent>
25 <#assign articleUrl = abstract_link.getData()>
26</#if>
27
28<#if articleUrl == "" && renderRequest.getAttribute("viewURL")?hasContent>
29 <#assign articleUrl = renderRequest.getAttribute("viewURL")>
30</#if>
31
32<#if articleUrl == "">
33 <#assign articleUrl = getURLViewInContext(themeDisplay, asset, viewURL!"")>
34</#if>
35
36<div class="col-lg-12 col-xs-12 row border-bottom row pb-5 mb-5 speech-row">
37 <div class="col-lg-1 col-xs-3 date-circle">
38 <div>
39 <span class="event-date-day">${date_day!"0"}</span>
40 <#if locale.getLanguage() == "ar">
41 <span class="event-date-month">${(date_month!"err")?upperCase}</span>
42 <#else>
43 <span class="event-date-month">${(date_month!"err")[0..2]?upperCase}</span>
44 </#if>
45 </div>
46 </div>
47
48 <div class="col-lg-11 col-xs-9 event-content">
49 <p class="event-title">
50 <a href="${articleUrl}">
51 ${speech_title.getData()}
52 </a>
53 </p>
54
55 <div class="pull-right"><@getAdminMenu asset /></div>
56
57 <div class="event-row-categories">
58 <#if location?hasContent && location.getData()?hasContent>
59 <span class="adt-uppercase"><@liferay.language key="location" /></span>: ${location.getData()}
60 </#if>
61 </div>
62 </div>
63</div>