spotlight-detail - helpxchangerevamp
שגיאה קרתה בעת עיבוד התבנית
The following has evaluated to null or missing: ==> request.getParameter("entryid") [in template "20099#20135#250554" at line 1, column 16] ---- Tip: If the failing expression is known to be 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: #assign bid = request.getParameter("e... [in template "20099#20135#250554" at line 1, column 1] ----
1<#assign bid = request.getParameter("entryid")?number />
2
3<#assign blogsEntryLocalService = serviceLocator.findService("com.liferay.blogs.service.BlogsEntryLocalService")>
4
5<#assign blogEntry = blogsEntryLocalService.getBlogsEntry(bid) />
6
7<div class="row">
8<div class="col-sm-8 col-md-8 col-xs-8">
9 ${blogEntry.getContent()}
10</div>
11<div class="col-sm-1 col-md-1 col-xs-1"> </div>
12<div class="col-sm-3 col-md-3 col-xs-3">
13<img src="${blogEntry.getSmallImageURL(themeDisplay)}" height="300" width="300" style="float: right;" />
14 </div>
15
16
17
18 </div>
19
20<style type="text/css">p{
21 line-height:40px;
22 font-size:16px;
23 }
24</style>