cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Error in Tree UI

former_member450736
Active Participant
0 Kudos

Hi,

below is the error which i am encountering when i double click any node or leaf of tree UI

Context binding of property ROOT_TEXT cannot be resolved: Lead selection not set for context node MAIN.1.ORGUNITHIER

i have initilized Tree in wddoinit and loading all children in the onactionload method of recursion node which is again pointing to tree structure.

and the text for the root node is also bound??? Please suggest me what would be the problem.

Tree displayed properly and even upon expanding nodes everything is coming fine only problem is double clicking of any node or leaf

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kranthi,

Could you check the property "Intialization lead selection" at each node level.

Regards

Anurag Chopra

Answers (1)

Answers (1)

0 Kudos

Hi

I have the exact same problem with a Tree UI control. Everything works - but double click on a node/leaf will throw the context binding error belo. How did you solve this issue exactly?

Error:

Context binding of property ROOT_TEXT cannot be resolved: Lead selection not set for context node

0 Kudos

Well - found a temporary solution.

I made sure context lead is always set for root node in wddomodify view.

data: l_o_node_tmp type ref to if_wd_context_node.

l_o_node_tmp = wd_context->get_child_node( 'ROOT_NODE_NAME'' ).

l_o_node_tmp->set_lead_selection_index( 1 ).

Is there a bug in the tree rendering in WDA perhaps.

/Allan