Re: [tobago] tc:tree selection gives a null element in treeState

2007-09-25 Thread Zied Hamdi
Hi, I can't find non deprecated API for the tree in the demo examples (nor in the javadoc), is there an alternative to UITreeOld? Thanks, Zied 2007/9/25, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > Please, in which condition does the following code return null? > > DefaultMutableTreeNode marker

Re: [tobago] tc:tree selection gives a null element in treeState

2007-09-25 Thread Zied Hamdi
Hi, Please, in which condition does the following code return null? DefaultMutableTreeNode marker = treeState.getMarker(); In fact DefaultTreeActionListener does nothing because it finds null when I click on the "new node" icon... Regards, Zied 2007/9/25, Zied Hamdi <[EMAIL PROTECTED]>: > >

Re: [tobago] tc:tree selection gives a null element in treeState

2007-09-25 Thread Zied Hamdi
Hi again, I've just seen this post : Re: Display tobago selectable tree http://www.mail-archive.com/users@myfaces.apache.org/msg32004.html So sorry for disturbing :-). Regards, Zied 2007/9/25, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > I'm in my first example with tc:tree, and I have a pro