Stream: hapi
Topic: Narrative Generation with Bundles
Simone Heckmann (Apr 14 2016 at 07:16):
Would this
ctx.setNarrativeGenerator(new DefaultThymeleafNarrativeGenerator()); String output = ctx.newJsonParser().setPrettyPrint(true).encodeResourceToString(myBundle);
create narratives for every entry in the bundle? Or would it just do nothing since bundles don't have narratives?
James Agnew (Apr 15 2016 at 22:13):
I believe it would put narratives in any resources within the bundle that don't already have one
Last updated: Apr 12 2022 at 19:14 UTC