Hmm, this error pretty much implies that it is trying to access the default rendering strategy, which is rather strange ... Have you added JsonStrategy to your view_manager?
//module.config.php return array( 'view_manager' => array( 'strategies' => array( 'ViewJsonStrategy', ), ), )
In addition, it is recommended that you set the correct accept header inside of you ajax calls only to accept the application/json content type. It should work with this set. Out of curiosity, however, are there modules/__NAMESPACE__/view/__namespace__/documents/get-tree-data.phtml ?
source share