I have this spring macro
[@spring.formSingleSelect path="discoveryProjectDetailsBean.discoveryProjectBean.dataSource" options="dataSources" /]
it throws exception
freemarker.template.TemplateException: Expected collection or sequence. options evaluated instead to freemarker.template.SimpleScalar on line 227, column 20 in spring.ftl.
at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135)
this happens because it cannot interpret the dataSource list as sequence.
any help