[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-dev
Subject: [jira] Assigned: (WW-2465) Dynamic trees in the dojo plugin causes
From: "Rainer Hermanns (JIRA)" <jira () apache ! org>
Date: 2008-03-31 8:12:58
Message-ID: 558975980.1206951178937.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/struts/browse/WW-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Rainer Hermanns reassigned WW-2465:
-----------------------------------
Assignee: Rainer Hermanns
> Dynamic trees in the dojo plugin causes a freemarker error if the child property \
> returns null
> ---------------------------------------------------------------------------------------------
>
> Key: WW-2465
> URL: https://issues.apache.org/struts/browse/WW-2465
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Dojo Tags
> Affects Versions: 2.1.1
> Reporter: Al Sutton
> Assignee: Rainer Hermanns
> Fix For: 2.1.1
>
> Attachments: dojo_dynamic_tree_null_children_fix.patch
>
>
> If the property specified in the childProperty for an s:tree returned a null the \
> following freemarker error occurs; Expression \
> stack.findValue(parameters.childCollectionProperty.toString()) is undefined on \
> line 24, column 8 in template/ajax/treenode-include.ftl. The problematic \
> instruction:
> ----------
> ==> list stack.findValue(parameters.childCollectionProperty.toString()) as child \
> [on line 24, column 1 in template/ajax/treenode-include.ftl] in include \
> "/${parameters.templateDir}/ajax/treenode-include.ftl" [on line 26, column 5 in \
> template/ajax/treenode-include.ftl] in include \
> "/${parameters.templateDir}/ajax/treenode-include.ftl" [on line 26, column 5 in \
> template/ajax/treenode-include.ftl] in include \
> "/${parameters.templateDir}/ajax/treenode-include.ftl" [on line 124, column 5 in \
> template/ajax/tree.ftl]
> ----------
> The attached patch fixes this problem by using a empty list as the default if a \
> null is returned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic