DBTreeview in WebClient

hi all,

here i got a problem with DBTreeView on the web client

i already tested it on smart client, it works well.

I’ve no idea what to do.

anybody, pls help me

if (globals.glb_didTreeViewInit == 0)
{
//set the relation to discover other nodes (when clicked open)
elements.dbtreeview.setNRelationName(‘country_to_region’)//will be in most cases self join relation

//set the method to call and dataprovider value to pass when node clicked
elements.dbtreeview.setCallBackInfo(globals.glb_node_selected,‘country_id’);

refreshTreeView();
globals.glb_didTreeViewInit = 1

elements.dbtreeview.selectionPath = new Array(1,2,3);
}

What is the problem?