I've developed an extended Webpart that inherits from CSWP because we have arround 30 templates each one with many style variations... so that style variations were exposed with webpart probs and the Template parses the values through javascript and it all runs smoothly.
The problem:
The client want's the possibility to run a template on server side through the old method XSLT and i developed a custom xlst and it's rendering alright but all the webpart properties that were parsed in client-side now can't... somehow I need to pass Server properties to my XSLT and i don't know how.
I know that the CQWP add a method to inject Server properties and methods from a class to xslt but i've exhausted every ideas and didn't came out with a solution.
Anyone knows a solution for this ?