SmartClient Version: v8.3p_2013-03-26/Pro Deployment (built 2013-03-26)
developer mode, firefox 13.0
When using a PickTree with a custom datasource I noticed that I can't set the value of the item.
When I set the value while the tree is busy fetching the root nodes the rpc.send(dsRequest, dsResponse); call results in a nullpointer exception.
When I add a button and set the value later it works fine.
I can see in my log that the root nodes are requested and that the specific node is requested and both calls are executed at the same time. The node is returned but the tree will be empty.
Is there a way to know when the tree has fetched the root node (and delay the setValue())?
developer mode, firefox 13.0
When using a PickTree with a custom datasource I noticed that I can't set the value of the item.
When I set the value while the tree is busy fetching the root nodes the rpc.send(dsRequest, dsResponse); call results in a nullpointer exception.
When I add a button and set the value later it works fine.
I can see in my log that the root nodes are requested and that the specific node is requested and both calls are executed at the same time. The node is returned but the tree will be empty.
Is there a way to know when the tree has fetched the root node (and delay the setValue())?
Comment