Lucianc:
Thanks for great article!!!
I probe the solution, and go right to the following settings:
...
new ArrayList(Arrays.asList(new Integer[] {4,2,6,8}))
...
And part of the SQL query is:
...
(motivo.id IN ($P!{enumeratedValues})
...
But ....
Only work for the default value of values parameter. I use a jasperser and postgres datasource, when change the value of parameter values in the repor page, the enumeratedValues value still having the default value given by defaultValueExpression (4,2,6,8) and not the values selected.
Any Idea?
Thanks!!