arw112
June 27, 2019, 5:10pm
1
<@hst.setBundle basename="commercialPropertyService"/>
<#assign bundle = localizationContext.resourceBundle>
<ul>
<#list bundle.keys as key>
<li>${key} = ${bundle(key)}</li>
</#list>
</ul>
This is what I have at the moment, any insight would be very helpful I initially read https://groups.google.com/forum/#!topic/hippo-community/S4uZzHeQTUY , but I haven’t made much progress.
Thank you
Can you try this?
<#list bundle.keys as key>
<li>${key} = ${bundle.getString(key)}</li>
</#list>
arw112
June 27, 2019, 8:13pm
3
Still nothing, I am just getting the blank
I am still fairly new to the hippo cms platform, did i set my resource bundle and assign it to the value correctly??
How about this? I assume you have a resource bundle by the basename (commercialPropertyService
) from either repository resource bundle or standard java resource bundle.
<@hst.setBundle var="localizationContext" basename="commercialPropertyService" />
<#assign bundle = localizationContext.resourceBundle>
<ul>
<#list bundle.keys as key>
<li>${key} = ${bundle.getString(key)!}</li>
</#list>
</ul>
arw112
June 27, 2019, 8:52pm
5
That worked! Thank you so much