Recommended way of printing simple dialog fields in AEM HTL.
1. Directly printing it using ${properties.value} OR
2. Injecting to Sling Model and using Getter Method of each field to print the value in HTL.
In Second case of numbers of dialog fields increases then number of getter methods and Inject Statements increases.
So just wondering which is the correct and recommended way of rendering simple dialog field values in HTL.
