<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to implement Primefaces TreeTable - Selection (CheckboxTreeNode) in Axon Ivy 7.0.1?</title><link>https://answers.axonivy.com/questions/3369/how-to-implement-primefaces-treetable-selection-checkboxtreenode-in-axon-ivy-7-0-1</link><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have tried to implement Primefaces TreeTable - Selection (CheckboxTreeNode) The sample code are obtained from &lt;a href="https://www.primefaces.org/showcase/ui/data/treetable/selection.xhtml"&gt;https://www.primefaces.org/showcase/ui/data/treetable/selection.xhtml&lt;/a&gt; . In Axon Ivy 7.0.1 but it keeps getting the following error when I tried to navigate the tree. &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ELException: Cannot convert [[Lorg.primefaces.model.TreeNode;@7d8d3a6a] of type [class [Lorg.primefaces.model.TreeNode;] to [class org.primefaces.model.CheckboxTreeNode]
    ContextAwareELException: javax.el.ELException: Cannot convert [[Lorg.primefaces.model.TreeNode;@7d8d3a6a] of type [class [Lorg.primefaces.model.TreeNode;] to [class org.primefaces.model.CheckboxTreeNode]
    Error during rendering of html dialog 'trial.TreeDataTryOut'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I did some googlings and someone suggested that it is due to PrimeFaces JAR files conflict. I have no idea how to resolve that in Axon Ivy. Could you help?&lt;/p&gt;
&lt;p&gt;Also, it would be great if there are sample Axon Ivy projects with TreeDataTable - Checkbox for reference?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3369/how-to-implement-primefaces-treetable-selection-checkboxtreenode-in-axon-ivy-7-0-1" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 31 Jul 2018 02:13:36 -0400</lastBuildDate><item><title>Answer by wesing</title><link>https://answers.axonivy.com/questions/3369/how-to-implement-primefaces-treetable-selection-checkboxtreenode-in-axon-ivy-7-0-1/3379</link><description>&lt;p&gt;Hi Reguel, I found the problem and it was due to declaring selected nodes as TreeNode instead of TreeNode[] in the data class. hence, I created managed bean with TreeNode[] as the selectedNodes. By the way, I also realise we cannot declare Array in the data class. I have tried using List &amp;lt;treenode&amp;gt; but it still cause the same conversion error.  Anyway, Thanks for the help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wesing</dc:creator><pubDate>Tue, 31 Jul 2018 02:13:36 -0400</pubDate><guid>https://answers.axonivy.com/questions/3369/how-to-implement-primefaces-treetable-selection-checkboxtreenode-in-axon-ivy-7-0-1/3379</guid></item></channel></rss>