I'm trying to obtain several bundles from the CMS and use various values from each within a freemarker template.
i have three bundles named forms.fieldnames, forms.section-headings, and forms.buttons all with locale specific values.
There are
forms.fieldnames -> first.name.fieldname
forms.section-headings->checkout.section-heading
I want to be able to access both values.
I'm tried doing the following:
<@hst.setBundle basename="forms.fieldnames" var="bundle1" />
<@fmt.message key="first.name.fieldname" bundle="bundle1"/>
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer] FTL stack trace ("~" means nesting-related):
[INFO] [talledLocalContainer] - Failed at: @fmt.message key="checkout.section-he... [in template "webfile:/freemarker/moen/account/product-registration.ftl" at line 116, column 104]
[INFO] [talledLocalContainer] ----. To see the stack trace, set 'org.hippoecm.hst.servlet.HstFreemarkerServlet' log-level to debug in log4j configuration or runtime via the logging servlet
What is the right syntax for getting the values from mutliple bundles?
thanks,