arcosoftwaredevelopment_1 Posted May 27, 2018 Share Posted May 27, 2018 Hi there,When reading tihe documentation about java beans as datasource it tells me the following:"If an attribute is also a Java object, you can double-click the object to display its other attributes."on this link https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-u...Can anybody explain me how to do this because a can double click everywhere but nothing happens.Thanks in advance. Link to comment Share on other sites More sharing options...
Tirupathi Mangalarapu Posted May 27, 2018 Share Posted May 27, 2018 Hello arcosoftwaredevelopment_1,Would this be helpful to you: https://community.jaspersoft.com/wiki/working-javabeans-data-adapter-jaspersoft Link to comment Share on other sites More sharing options...
hozawa Posted May 27, 2018 Share Posted May 27, 2018 There's a youtube video.https://www.youtube.com/watch?v=Kj2700ZZkmM Link to comment Share on other sites More sharing options...
arcovandervelden Posted May 28, 2018 Share Posted May 28, 2018 Hi guys,Thanks for your responses, the thing is I know how to handle a java bean but the specific question is how to deal with a java class with attributes that are classes themselves.As stated before the documentation says "If an attribute is also a Java object, you can double-click the object to display its other attributes."but in the editor there's no way to double click on the class and getting the attributes of the underlying class.I can add the underlying class as a seperate entry and pick the attributes of the class but in that case they are not scoped to the the parent class and I have to modify all attributes by hand to get things working. Link to comment Share on other sites More sharing options...
mchisty Posted August 21, 2018 Share Posted August 21, 2018 I like to add a bit more:The example provided here is applicable only if the report is in the same workstation with java appcation (the jasper report file .jrxml/.jasper is bundled with the web application, deployed in the same web/app server). But what if the report is depoyed in a remote jasper report server and not in the same server with the bundled web app? How do you pass the ArrayList of beans to the jasper file in such a case? 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