Shouldn't the following work?
<rich:treeNode expanded="true" onbeforetoggle="this.collapse();">
But I get a
this.collapse is not a function
error, although collapse() is defined in tree.js.
doesn't work neither.
Retrieving data ...