Summary of error handling
Rod Widdowson
rdw at steadingsoftware.com
Tue Jun 10 10:27:50 EDT 2014
> I expose the HTMLEncoder class as a request or view scoped variable in the
> flow definition (or in the Spring error handling extension that generates
> the view model), so it's trivial, just $encoder.encodeforHTML()
Does that work? As I remember I was tripping over some nasty errors because
it looks like Velocity was looking for a method called encodeforHTML on an
object of type
Class<HTMLEncoder>
But that was some time ago and I didn't spend too much time trying to bottom
that out. Certainly, none of our current vm files make use of $encoder.
I can dig further if required.
R
More information about the dev
mailing list