I have a question about reports. When I generate an HTML report, the result opens in my browser. This is good. However, I would like to be able to post-process the generated HTML report in my java code BEFORE it gets displayed or downloaded. Is there a hook to access the generated HTML for post-processing? My editor.init code is shown below.
Thanks
Eric
public void init(Map<String, Object> params) {
super.init(params);
TablePrintFormAction action = new TablePrintFormAction("Visit Report", patientVisitsTable);
patientVisitsTable.addAction(action);
btnReport.setAction(action);
}
Just to clarify a bit… the reason I want to post-process is so I can format some many-to-many references. Specifically, the Visit entity has a many-to-many attribute that I want to output as a comma-delimited list. For example,
Fruit: apple, pear, banana
I don’t know how to format in this way using the reporting module, so I thought I might use reporting to output the rest of the attributes and then add the MTM printouts using my own code.