Still having no luck with this.
Can get this to work:
<@s.FacetedSearch>
<@fb.MultiFacet name="section">
<h2>Test FACETS CODE</h2>${fb.facet}
</@fb.MultiFacet>
</@s.FacetedSearch>
And it returns the name of the fact as expected - so I know the @fb. stuff is there and is working.
From what I can gather from the rest of the documentation - I should just be able to pass into the Multicategories macro the name of the facet as a variable - and it should then almost cascade down to the other macros - the top macro generating the variables and calling the next macros and so on.
So something like this should do something?
<@s.FacetedSearch>
<@fb.MultiFacet name="section">
<h2>Test FACETS CODE</h2>${fb.facet}
<@fb.MultiCategories facet="section"/>
</@fb.MultiFacet>
</@s.FacetedSearch>
But again I just end up with the same error.
Expected hash. facet evaluated instead to freemarker.template.SimpleScalar on line 408, column 12 in web/templates/modernui/funnelback.ftl.
It looks like I should be passing through the variable in a different format?
I am using a GScope facet - could this be an issue?
Again - any help appreciated.
Thanks
Karl