FreeMarker Error : left-hand operand: Expected a hash, but this evaluated to a sequence -
When I loop through a list in the freemarker like below, it works fine.
& lt #list as product cModel.products & gt;
But when I am transiting the size of the list as a variable,
I'm getting an exception from the free marker like the empty mark
Left hand operand: Expecting a hash, but it's a sequence Assessed for
Any suggestions?
I hope that you are accessing it incorrectly. / P>
According to your example, list name is product, then
Products should return to the size.
Hope it helps.
Comments
Post a Comment