[forge-dev] POH5 runtime generation
fruehbeck at aon.at
Wed Feb 29 16:48:10 EST 2012
you were absolutely right! That did it!!
String template =
@Richard: I think you will need this too.
Perfect, yes I read about how important it is to keep an API clean but I
never felt the pains that hard :-)
Am 29.02.2012 20:13, schrieb Lincoln Baxter, III:
> Just FYI. If I am not mistaken, you are probably attempting to access
> the MVEL CompiledTemplate in order to access the textual
> representation of the template itself?
> If that is the case, what you should do instead is:
> InputStream templateStream =
> String templateContents = Streams.toString(templateStream);
> I know this is somewhat more verbose, but it will work, and does not
> access implementation details of Seam Render (which are, I might add,
> my mistake for revealing in the API.)
> I hope this helps,
More information about the forge-dev