A simple SQL table, with two attributes and three rows:
reference | name:
0 | first
1 | second
2 | third
I have a Java application, with Swing, showing this through a JList (each row concatenates the two strings, reference and name).
I push a button, I export the entire database successfully, using my "from_ireport.jasper", compiled from iReport. I can compile from code too.
I want to select one or more elements, push the button and get a pdf with just the selected elements. Where and how do I specify the "where condition" to jasper?
I can't find a easy example to look at. Thanks.