Kiểm tra các chuỗi sản xuất thịt lợn Việt Nam
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>




