I'm not sure if you're setting the node-id in your code. You have to do this when you create the tree element.

TreeNodeBase newNode = new TreeNodeBase("node-type", description ,theNodeIdentifier , true);

You can then use #{node.identifier}

where node is

 <x:tree2 value="#{Values}"
          id="elementTree"
          var="node"
          binding="#{Binding}">

Hope this is your problem
Keith

On 12/1/05, Anu Padki <[EMAIL PROTECTED]> wrote:
hi All,
 
I am working on  a checkbox version of the tree2. I have extneded the nodebase class and it works fine.
I want to select some nodes and then display the selected nodes on other web pages. To achieve this, I have to use _javascript_. However, in order to make it work with the _javascript_, I have to create a unique id for the checkbox.
An Id that identifies with the database. The id created by jsf is of no use to track the selected node.
I use selectBooleanCheckbox on the web page.There is a unique identifier set to the node.
But if I try id ="#{node.identifier} it of courde fails, teied  ${node.identifier} and <%=nodeidentifier>
both failed. I also tried to panelGrid binding at the node level. Created the panelGrid method in the node class, but that does gives "instantiation of bean" problem.
Any thoughts, really appreciate all help from this user group.
- Anu

Reply via email to