When passing Java objects as data to Docmosis, the template drives the lookup process of fetching data from the Java objects (POJOs). If your output document does not include the data you are expecting, then there are two useful tools to see how Docmosis is inspecting the Java objects:
1. Make lookup failures fail loudly
By setting the property:
Docmosis will fail whenever the data fetching cannot obtain data from your Java objects. Docmosis will tell you what methods it was trying to call on what type of Java object so it (hopefully) becomes clear what the problem is and where the correction can be made. The correction will typically be to the Docmosis template.
2. Turn on DEBUG logging
Particularly for the Java package
This will log detailed information about the process of reflection.