Các đơn vị thuộc Cục
Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
The following has evaluated to null or missing:
==> saxReaderUtil.read(journalArticle.getContent()) [in template "20101#20129#63537" at line 16, column 33]
----
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 document = saxReaderUtil.read... [in template "20101#20129#63537" at line 16, column 13]
----
1<#--
2Widget templates can be used to modify the look of a
3specific application.
4
5Please use the left panel to quickly add commonly used variables.
6Autocomplete is also available and can be invoked by typing "${".
7-->
8<#if entries?has_content>
9 <ul class="org_sub_list">
10 <#list entries as curEntry>
11 <#assign renderer=curEntry.getAssetRenderer() />
12 <#assign className = renderer.getClassName()/>
13 <#assign video_link=""/>
14 <#if className="com.liferay.journal.model.JournalArticle">
15 <#assign journalArticle = renderer.getArticle() />
16 <#assign document = saxReaderUtil.read(journalArticle.getContent())/>
17 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) />
18 <#assign smallImage=journalArticle.getSmallImageURL()/>
19 <#assign rootElement = document.getRootElement() />
20 <#list rootElement.elements() as dynamicElement>
21 <#if "address" = dynamicElement.attributeValue("name")>
22 <#assign address=dynamicElement.element("dynamic-content").getText()/>
23 </#if>
24 <#if "mobile" = dynamicElement.attributeValue("name")>
25 <#assign mobile=dynamicElement.element("dynamic-content").getText()/>
26 </#if>
27 <#if "fax" = dynamicElement.attributeValue("name")>
28 <#assign fax=dynamicElement.element("dynamic-content").getText()/>
29 </#if>
30 <#if "email" = dynamicElement.attributeValue("name")>
31 <#assign email=dynamicElement.element("dynamic-content").getText()/>
32 </#if>
33 <#if "website" = dynamicElement.attributeValue("name")>
34 <#assign website=dynamicElement.element("dynamic-content").getText()/>
35 </#if>
36 </#list>
37 <li>
38 <h3><a href="${viewURL}">${curEntry.getTitle(locale)}</a></h3>
39 <p><strong>ĐT:</strong>${mobile}</p>
40 <p><strong>Fax:</strong>${fax}</p>
41 <p><strong>Email:</strong>${email}</p>
42 <#if website?has_content>
43 <p><strong>Website:</strong><a href="${website}" target="_blank" title="${curEntry.getTitle(locale)}">${website}</a></p>
44
45 <#else>
46 <p><strong>Website:</strong></p>
47 </#if>
48
49 </li>
50
51 </#if>
52 </#list>
53 </ul>
54</#if>
Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
The following has evaluated to null or missing:
==> saxReaderUtil.read(journalArticle.getContent()) [in template "20101#20129#43122" at line 19, column 41]
----
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 document = saxReaderUtil.read... [in template "20101#20129#43122" at line 19, column 21]
----
1<#--
2Widget templates can be used to modify the look of a
3specific application.
4
5Please use the left panel to quickly add commonly used variables.
6Autocomplete is also available and can be invoked by typing "${".
7-->
8<div class="lien_ket_website">
9 <div class="form-group">
10 <select onchange="if (this.value) window.location.href=this.value">
11 <option>-- Chọn liên kết --</option>
12 <#if entries?has_content>
13 <#list entries as entry>
14 <#assign link_address=""/>
15 <#assign assetRenderer=entry.getAssetRenderer() />
16 <#assign className = assetRenderer.getClassName()/>
17 <#if className="com.liferay.journal.model.JournalArticle">
18 <#assign journalArticle = assetRenderer.getArticle() />
19 <#assign document = saxReaderUtil.read(journalArticle.getContent())/>
20 <#assign rootElement = document.getRootElement() />
21 <#list rootElement.elements() as dynamicElement>
22 <#if "link_address" = dynamicElement.attributeValue("name")>
23 <#assign link_address=dynamicElement.element("dynamic-content").getText()/>
24 </#if>
25
26 </#list>
27 <option value="${link_address}">${entry.getTitle(locale)}</option>
28 </#if>
29
30 </#list>
31
32 </#if>
33 </select>
34 </div>
35</div>




