A handler is the method that will receive the event from the dispatcher.
There are currently two URI's supported:
<uri><s>script:method()</s></uri>
<uri><s>default</s></uri>
The default URI is implied if there are no script URI's specified, but must be included if there are script URI's included. This is because the order of calling the handlers can be important.
var docElement = "#/1";
var xptr = "#xpointer(hasdispatcher/onclick/hashandler/uri/s)";
var at = "#xpointer(*/*/*/*/*)";
var scriptURI = "script:diputreeOnClick();";
var onclickHandler = diputree.bind(docElem,onclickHandler,at);
diputree.setValue (onclickHandler, scriptURI );