You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ba...@kp.org on 2009/06/12 02:27:42 UTC
Struts2 dynamic tree error
Using the below code to create a tree reading DB.
<sx:tree id="cus" rootNode="customers" nodeIdProperty="id"
nodeTitleProperty="customer" childCollectionProperty="customer" />
"customers"is an Array List and "customer"is an object.
Below is the error. Please help
6/11/09 17:17:01:000 PDT] 00000084 runtime E
Expression stack.findValue(parameters.nodeTitleProperty) is undefined on
line 23, column 48 in template/ajax/treenode-include.ftl.
The problematic instruction:
----------
==> ${stack.findValue(parameters.nodeTitleProperty)} [on line 23, column
46 in template/ajax/treenode-include.ftl]
in include "/${parameters.templateDir}/ajax/treenode-include.ftl" [on
line 124, column 5 in template/ajax/tree.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression
stack.findValue(parameters.nodeTitleProperty) is undefined on line 23,
column 48 in template/ajax/treenode-include.ftl.
Thanks & Regards
Bala T Ramanadham
NOTICE TO RECIPIENT: If you are not the intended recipient of this
e-mail, you are prohibited from sharing, copying, or otherwise using or
disclosing its contents. If you have received this e-mail in error,
please notify the sender immediately by reply e-mail and permanently
delete this e-mail and any attachments without reading, forwarding or
saving them. Thank you.