Home
Analytics
How to get the table header name in my Java Application
Samo
Hi all,
I'm trying read out the lables in the table header for my Java application.
I need the lable content to figure out the column.
What I'm trying to do is to read out the elements of the report design and then fill it with content.
In This Case it's just a Table but It also could be a Chart or sth. like that.
Thanks,
Samo
Find more posts tagged with
Comments
CBR
Hi Samo,
what are you trying to do exactly?
Do you open a rptdesign and fill it with content using Java? Why not using BIRT instead?
Or do you generate a report as pdf or html and want to access certain elements in the report to make them available in a java variable? To alert a message or something using java code?
Samo
Hi cbrell,
I was trying to to open a rptdesign to fill it with content in Java.
I will try to explain my situation:
We are trying to have two independence components.
The first one is the Java Application which calls up content from the backend and the other one designs the reports.
So the designer doesn't know how much information the java application provides. He just create the design.
For example, the java application provides contents like a table with three columns "COMPANY", "NAME" and "PHONE". And let's assume the designer created a report with a table and jus one column "COMPANY".
So the java application should figure out which columns are required and should fill them.
I hope this decription is understandable.
But actually I found a much better way, I'm generating an XML stream. Anyway I would like to know how to make it with the java application.
Best regards,
Samo