I wonder if its possible in any way to change the default view-renderer in the document-library of share based on the type of folder the user enters.
The default view overall seems to be set in the constructor of documentlist.js and the option "viewRendererName". How can I change this based on folder type?
In addition to Tahirs links below I would like to add the following blogpost as well which gives a good overview on how this can be done using a module evaluator:
http://experiencewithalfresco.blogspot.dk/2012/06/type-subcomponent-evaluator.html