Hello everyone! I am using the tree component from:
http://wiki.apache.org/tapestry/Tapestry5TreeComponent and added a zone parameter to the ActionLink in order to show the data of the selected element in the tree. <t:Tree treeid='literal:demo' source="treeNodes" currentNode="node"> <t:actionlink t:id="tree" context="node.identifier" zone="showSelection"> ${node.name} </t:actionlink> </t:Tree> <t:zone t:id="showSelection" t:update="show"> <table border="1"> <tr><td><b>XPath</b></td><td><b>Sample data</b></td></tr> <tr><td>${xpath}</td><td>${sampleData}</td></tr> </table> </t:zone><br/> This leads to an error thats fades in and out again that says: Exception invoking function Tapestry.Initializer.linkZone with parameters [{"linkId": "tree_199", "url": "/importer/mapping.tree/16?t:state:client=H4sIAAAAAAAAAEWOsUoDQRCGJ4kSxUKwsbG03vUUiWinIBy5iJDGdrgbL6u7e+vuGHONraUv4oMIPoG1tZ2VKDgHot0/MP/3f0/vsHy3BAC9FGHcxFphwHJGijFQ4tjuK+OZokerEsW5KSmpE2vI8znFZBJLOjVkqyk3EWvKXbDbY2pfPzYfh2+fD30YFLBWNi40Xl7zimGjuMI5aou+1lOOxtdHBaxedpAzdHQD99ArYCUI7e9ehMAwXDibMzlJEwxBiiK9VZGqUNxERcmCYSOKF5Oi+1z/fml3n0df/Y44uI32F8aQzZjDodYO3X+9Is1idkzltUPvdTbaO9jJVDBKln8AJSA8eCsBAAA=", "zoneId": "showSelection"}]: TypeError: $(element) is null The Java code is: @InjectComponent private Zone showSelection; @Persist @Property private String xpath; @Persist @Property private String sampleData; Object onActionFromTree(int index) { TreeNode node = this.getTreeNode(index); if (node != null) { this.xpath = node.getXpath(); this.sampleData = node.getValue(); } return this.showSelection.getBody(); } Any ideas? Thanks! Tobias --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org