[Geoserver-users] How to create JSON config of the tree from server

Hi all,

As in Mapserver, How can i generate JSON config of the geoserver layer which will be presented by geoext as tree widget.For instance http://map.rostmuseum.ru/load-tree-config.php page of http://map.rostmuseum.ru/

Thanks in advance

Happy XMAS