spraveenk90 Posted December 2, 2016 Share Posted December 2, 2016 Please help me to figure the issue. I clicked on Dataset and Query dialog icon and entered class name in javabean as com.pojos.jasper.ReportDataExport. I can see my method getFrameElement() getting populated. I cliked ADD SELECTED FIELDS and clicked OK. Then I pulled the field $F{frameElement} into the report. But it gives NULL instead returning datalist . Expected output is the list of data in datalist. public List<String> getframeElement() { List<String> datalist = new ArrayList<>(); final int size1 = Export.getdetails().getdata().getdata().size(); for (int i = 0; i <= size1; i++) { final String data = Export.getdetails().getdata().getdata().get(i).getLongName(); datalist.add(data); } return datalist; }[/code]find the image of jasperreport. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now