Please post these types of questions to the user list. Your fellow users will likely be able to help you there.
Regards, Sean On 1/5/06, Cash, Jamie <[EMAIL PROTECTED]> wrote: > I am having some problems with tree node, using MyFaces 1.1.1. > > I am constructing a tree node with the following statement but isLeaf returns > true. > > treeNode= new TreeNodeBase(nodeType.toString(), node, false); > > This is still the case even if I explicitly call setLeaf(false); after > creating the TreeNode. > > The following debug places stright after creating the treenode statements > output the messages detailed below: > > DEBUG STATEMENTS > logger.debug("new treeNode.description: " + treeNode.getDescription()); > logger.debug("new treeNode.type: " + treeNode.getType()); > logger.debug("new treeNode.isLeaf: " + treeNode.isLeaf()); > > MESSAGES > 2006-01-05 15:16:33,669 DEBUG > [uk.co.ifdsgroup.security.form.SecurityHierarchyForm] new > treeNode.description: eSecurity > 2006-01-05 15:16:33,669 DEBUG > [uk.co.ifdsgroup.security.form.SecurityHierarchyForm] new treeNode.type: root > 2006-01-05 15:16:33,669 DEBUG > [uk.co.ifdsgroup.security.form.SecurityHierarchyForm] new treeNode.isLeaf: > true > > Has anyone else experienced this, or am I doing something strange! > > Regards > > Jamie > > > INTERNATIONAL FINANCIAL DATA SERVICES (UK) LTD Tel: +44 1268 44 3000 > ********************** N O T I C E ********************************* > > This message and any attachments is intended only for the individual or > company to which it is addressed and may contain > information which is privileged, confidential or prohibited from disclosure > or unauthorised use. If the recipient of this > transmission is not the intended recipient, or the employee or agent > responsible for delivering such materials to the > intended recipient, you are hereby notified that any use, any form of > reproduction, dissemination, copying, disclosure, > modification, distribution and/or publication of this e-mail message or its > attachments other than by it's intended > recipient is strictly prohibited by the sender. If you have received it in > error, please notify us immediately by > telephone on the number above and destroy the message and all copies in your > possession. > > International Financial Data Services (UK) Ltd is authorised and regulated by > the Financial Services Authority. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > ********************************************************************** > >