Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Won't Do
-
11.1.0
-
None
-
None
Description
Taxonomy keys are stored on documents in a multiple string property hippotaxonomy:keys.
The Beanwriter generated the following (correct, AFAICS) getter method:
@HippoEssentialsGenerated(internalName = "hippotaxonomy:keys") public String[] getKeys() { return getProperty("hippotaxonomy:keys"); }
In a JSP template, the following works:
<%@ taglib uri="http://www.hippoecm.org/jsp/hst/taxonomy" prefix='tax'%>
<tax:categories var="list" keys="${document.keys}" />
But in Freemarker template, the equivalent:
<#assign tax=JspTaglibs["http://www.hippoecm.org/jsp/hst/taxonomy"] >
<@tax.categories var="list" keys=document.keys />
gives the following error:
[INFO] [talledLocalContainer] FreeMarker template error: [INFO] [talledLocalContainer] Failed to set JSP tag parameter "keys" (declared type: String[], actual value's type: f.e.b.SequenceAdapter). See cause exception for the more specific cause...