mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
WW-2465
Dynamic trees in the dojo plugin causes a freemarker error if the child property returns null git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@643359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
-->
|
||||
<div dojoType="struts:StrutsTreeNode" title="${stack.findValue(parameters.nodeTitleProperty)}" id="${stack.findValue(parameters.nodeIdProperty)}">
|
||||
<#list stack.findValue(parameters.childCollectionProperty.toString()) as child>
|
||||
<#list stack.findValue(parameters.childCollectionProperty.toString())! as child>
|
||||
${stack.push(child)}
|
||||
<#include "/${parameters.templateDir}/ajax/treenode-include.ftl" />
|
||||
<#assign oldNode = stack.pop() /> <#-- pop the node off of the stack, but don't show it -->
|
||||
|
||||
Reference in New Issue
Block a user