This approach worked for me. Here is a paste of my wrapper for Spark
that does I believe this is close to what you are looking for.
http://gist.github.com/239611
Notice that I had to hash the view string for use as a template name
because it seems there is a singleton like bug or a feature that
causes templates with the same name still exist to across spark
engines.
Kevin Miller
On Nov 20, 7:09 am, Artem Tikhomirov <
ar...@tikhomirovs.ru> wrote:
> It's a bit hard to do, but possible. You should use InMemoryViewFolder to
> register path to template string dictionary, then set it to
> SparkViewEngine.ViewFolder property.
>
> After that you should feed your view data coupled with a path string to the
> engine. See lou's blog:
http://whereslou.com/2008/12/16/using-spark-as-a-general-purpose-temp...