I'm sure thats correct.... i copied it out of another bit of ezpublish. This code is being executed inside a event in a workflow and is not for output. The templateResult is to be written to a file (once i get it working that is) :-)
You must be logged in to post messages in this topic!