Challenge Resources - GLOBE Observer
An error occurred while processing the template.
Failed to get value for key "com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil"; see cause exception. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign fileUtil = staticUtil["com.li... [in template "10132#10165#52478307" at line 1, column 1] ----
1<#assign fileUtil = staticUtil["com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil"]/>
2
3<div class="container-fluid">
4
5 <div id="myCarousel" class="carousel slide">
6 <div class="carousel-inner">
7
8 <#if entries?has_content>
9 <#list entries as curEntry>
10 <#assign assetRenderer = curEntry.getAssetRenderer() />
11 <#assign entry_groupId = assetRenderer.getGroupId()/>
12 <#assign entry_uuid = assetRenderer.getUuid()/>
13 <#assign dlEntry = fileUtil.getDLFileEntryByUuidAndGroupId(entry_uuid, entry_groupId)/>
14
15 <#if curEntry_index == 0>
16 <div class="item active">
17 <a href="${assetRenderer.getURLDownload(themeDisplay)}">
18 <img src="${assetRenderer.getURLImagePreview(renderRequest)}" style="max-height:500px; margin-left:auto; margin-right:auto;"/>
19 </a>
20 </div>
21
22 <#else>
23 <div class="item">
24 <a href="${assetRenderer.getURLDownload(themeDisplay)}">
25 <img src="${assetRenderer.getURLImagePreview(renderRequest)}" style="max-height:500px; margin-left:auto; margin-right:auto;"/>
26 </a>
27 </div>
28 </#if>
29 </#list>
30 </#if>
31 </div>
32 </div>
33
34</div>
35<div class="container-fluid" style="position:relative; margin-right:25%; margin-left:25%; margin-bottom:20px;">
36<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
37<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
38</div>
Cloud Observation Tutorials
Cloud Challenge Promotional Media
An error occurred while processing the template.
Failed to get value for key "com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil"; see cause exception. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign fileUtil = staticUtil["com.li... [in template "10132#10165#52460928" at line 1, column 1] ----
1<#assign fileUtil = staticUtil["com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil"]/>
2
3
4
5 <div class="container-fluid">
6
7
8
9 <#if entries?has_content>
10
11 <#list entries as curEntry>
12
13 <#assign assetRenderer = curEntry.getAssetRenderer() />
14 <#assign entry_groupId = assetRenderer.getGroupId()/>
15 <#assign entry_uuid = assetRenderer.getUuid()/>
16 <#assign dlEntry = fileUtil.getDLFileEntryByUuidAndGroupId(entry_uuid, entry_groupId)/>
17
18 <div style="height:200px; width:200px; display:inline-block">
19 <a href="${assetRenderer.getURLDownload(themeDisplay)}">
20 <img src="${assetRenderer.getURLImagePreview(renderRequest)}" class="img-polaroid" style="max-width:90%; margin-left:auto; margin-right:auto;"/>
21 </a>
22 </div>
23
24 </#list>
25
26 </#if>
27
28
29
30 </div>
Get your audience involved!
Download graphics to share
information about the challenge
at the bottom of this page