Hi All,
I am really tired of finding a solution for this. So can anyone please help me solve this issue.
Let's say I have,
Collection <Person> persons = new LinkedList<Person>();
where Person is a Class having three attributes.
After adding three Person objects to 'persons collection'
I am setting request attribute as
request.setAttribute("persons", persons)
In
jsp for a (custom) tag I am setting as
<jmesa:tableModel
id="tagBasic"
items="${persons}"
maxRows="12"
maxRowsIncrements="12,20,36"
stateAttr="restore"
var="bean"
>
This works,
But same thing in freemarker, I am unable to do that.
I tried items="${r\"${persons}\"}" , but I couldnot make it work.
So in one sentence how do you represent a el expression in freemarker.
Thanks,
Vivek.