Asset Publisher
null New aircraft released
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy69.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy69 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl@59b5bb36"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign file = dlFileEntryService.get... [in template "20116#20152#234122" at line 119, column 49] ----
1<#setting locale=locale.toString()>
2<#setting datetime_format="EEE, d MMM yyyy HH':'mm':'ss Z">
3
4<#assign dateFormat = propsUtil.get("keycopterneo.display.date.format")>
5<#assign creationDate = .vars['reserved-article-create-date'].data>
6<#assign createdate = creationDate?datetime>
7
8
9<!--<div class="row">
10 <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12">
11 <a href="/web/guest/home">
12 <span class="glyphicon glyphicon-home"></span>
13 Home
14 </a>
15 </div>
16</div>-->
17
18<div class="keycopter-news-detail-wrapper">
19
20 <div class="row ">
21 <div class="col-xl-2 col-lg-2 col-md-2 col-sm-3 col-xs-4 keycopter-news-creation-date">
22 ${createdate?string[dateFormat]}
23 </div>
24 <div class="col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 keycopter-news-content">
25 <div class="keycopter-news-abstract">
26 ${.vars['reserved-article-description'].data}
27 </div>
28
29
30 <#if KeycopterneoNewsAndArticlesContentTypeGroup.getSiblings()?has_content>
31
32 <#list KeycopterneoNewsAndArticlesContentTypeGroup.getSiblings()
33 as cur_KeycopterneoNewsAndArticlesContentTypeGroup>
34
35 <#if cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("LongDescription").getData()!="">
36 <div class="keycopter-news-longdescription">
37 ${cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("LongDescription").getData()}
38 </div>
39 </#if>
40
41 <#if cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("Picture").getData()!="">
42 <div class="keycopter-news-image">
43 <img alt="${cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("Picture").getAttribute("alt")}"
44 src="${cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("Picture").getData()}" />
45 </div>
46 </#if>
47
48 <#if cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("VideoLink").getData()!="">
49
50 <div class="videoWrapper">
51 <iframe width="560" height="349"
52 src="${cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("VideoLink").getData()}" title="Video iframe"
53 frameborder="0" allowfullscreen>
54 </iframe>
55 </div>
56
57 </#if>
58
59 <#--RELATED MEDIA-->
60
61 <#assign nrOfLinks = 0 >
62
63 <#assign extLinksList = cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("LinksToExternalURLs")>
64
65 <#list extLinksList.getSiblings()
66 as cur_ExternalLinksChildren>
67
68 <#if cur_ExternalLinksChildren.getData()!="">
69 <#assign nrOfLinks = nrOfLinks + 1>
70 </#if>
71
72 </#list>
73
74 <#assign nrOfDocs = 0 >
75
76 <#assign attachDocsList = cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("AttachedDocuments")>
77
78 <#list attachDocsList.getSiblings()
79 as cur_attachDocsListChildren>
80
81 <#if cur_attachDocsListChildren.getData()!="">
82 <#assign nrOfDocs = nrOfDocs + 1>
83 </#if>
84 </#list>
85
86 <#if (nrOfLinks > 0) || (nrOfDocs > 0)>
87 <div class="keycopter-news-relatedmedia">
88
89 <div role="heading" aria-level="7" id="KeycopterneoNewsAndArticlesContentTypeContacts"
90 class="keycopter-news-relatedmedia-title" >
91 Related media:
92 </div>
93 <div class="keycopter-news-relatedmedia-link">
94
95 <#-- Links to external URL -->
96
97 <#if extLinksList.getSiblings()?has_content>
98 <#list extLinksList.getSiblings() as cur_LinkstoExternalURLs>
99 ${cur_LinkstoExternalURLs.getData()}
100 </#list>
101 </#if>
102
103 <#-- Attached documents -->
104
105 <#if attachDocsList.getSiblings()?has_content>
106 <#list attachDocsList.getSiblings() as cur_AttachedDocuments>
107 <#assign counterSplit = 0 >
108 <#list cur_AttachedDocuments.getData()?split("/") as cur_AttachedDocuments_Url>
109 <#if counterSplit == 2>
110 <#assign groupId = cur_AttachedDocuments_Url?number >
111 </#if>
112 <#if counterSplit == 5>
113 <#assign uuId = cur_AttachedDocuments_Url?split("?t=")[0] >
114 </#if>
115 <#assign counterSplit = counterSplit+1 >
116 </#list>
117
118 <#assign dlFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
119 <#assign file=dlFileEntryService.getFileEntryByUuidAndGroupId(uuId,groupId) >
120 <p>
121 <a href="${cur_AttachedDocuments.getData()}"> ${file.getFileName()}
122 </a>
123 <p/>
124 </#list>
125 </#if>
126
127 </div>
128 </div>
129
130 </#if>
131
132 <#--CONTACTS-->
133
134 <#assign contactChildren = 0 >
135
136 <#if cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("ContactsSectionDescription").getChild("ContentArea")??>
137 <#list cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("ContactsSectionDescription").getChild("ContentArea").getChildren() as cur_ContactsChild>
138
139 <#if cur_ContactsChild.getData()!="">
140 <#assign contactChildren = contactChildren + 1>
141 </#if>
142
143 </#list>
144 </#if>
145
146 <#if contactChildren != 0>
147
148 <div class="keycopter-news-contacts">
149 <div role="heading" aria-level="7" id="KeycopterneoNewsAndArticlesContentTypeContacts"
150 class="keycopter-news-contacts-title" >
151 ${cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("ContactsSectionDescription").getData()}
152 </div>
153
154 <#if cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("ContactsSectionDescription").getChild("ContentArea").getSiblings()?has_content>
155 <#list cur_KeycopterneoNewsAndArticlesContentTypeGroup.getChild("ContactsSectionDescription").getChild("ContentArea").getSiblings() as cur_KeycopterneoNewsAndArticlesContactBloc>
156
157 <div class="keycopter-news-contact">
158 <div class="row ">
159 <div class="col-xl-6 col-lg-6 col-md-6 col-sm-6 col-xs-6 keycopter-news-contact-name">
160 <div class="keycopter-news-contact-names">
161 <#if cur_KeycopterneoNewsAndArticlesContactBloc.getChild('ContactName').getData()!="">
162
163 ${cur_KeycopterneoNewsAndArticlesContactBloc.getChild('ContactName').getData()}
164
165 </#if>
166 </div>
167 <div class="keycopter-news-contact-jobtitle">
168 <#if cur_KeycopterneoNewsAndArticlesContactBloc.getChild('JobTitle').getData()!="">
169 ${cur_KeycopterneoNewsAndArticlesContactBloc.getChild('JobTitle').getData()}
170
171 </#if>
172 </div>
173
174 </div>
175 <div class="col-xl-6 col-lg-6 col-md-6 col-sm-6 col-xs-6 keycopter-news-contact-contacts">
176 <div class="keycopter-news-contact-phone">
177 <#if cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Phone').getData()!="">
178 Tel.:   ${cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Phone').getData()}
179 </#if>
180 </div>
181
182 <div class="keycopter-news-contact-mobile">
183 <#if cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Mobile').getData()!="">
184 Mob.: ${cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Mobile').getData()}
185 </#if>
186 </div>
187
188 <div class="keycopter-news-contact-email">
189
190 <#if cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Email').getData()!="">
191
192 <#assign mailTo = cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Email').getData()>
193
194 <a href="mailto: ${mailTo}"> ${cur_KeycopterneoNewsAndArticlesContactBloc.getChild('Email').getData()}</a>
195 </#if>
196 </div>
197
198 </div>
199
200 </div>
201
202 </div>
203
204 </#list>
205
206 </#if>
207
208 </div>
209
210 </#if>
211 </#list>
212
213 </#if>
214
215 </div>
216 </div>
217
218</div>