View source | View content page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Show collection (0 pages)
Collections help


Projects:Add HTML Export In ProcessDefinition Reports/Technical Specifications

Back button.png   Back to Projects:Add HTML Export In ProcessDefinition Reports


Technical Specification


In order to add HTML output to Process Definition reports, a new column named HTML_TEMPLATE was added to OBUIAPP_REPORT table, to hold the value of the template to use when generating HTML output.

Together with this column another column USE_PDF_AS_HTML_TEMPLATE is going to be added, it will be used to specify if the template specified for the PDF format must be used for the HTML output also.


The corresponding fields for the columns mentioned in the previous section were added to the Report Definition tab of the Process Definition window.

Action Handlers

The BaseReportActionHandler java class was enhanced to allow passing data into the reports, apply logic in the selection of the report template to use, and allow report generation in HTML format:

Client side components and scripts

A new method isHtmlExport was added to the ParameterWindowComponent java class, to get whether the HTML template is defined for the Report Definition.

The Freemarker template ob-pick-and-execute-view-window.js.ftl was modified to add a new property htmlExport.

The method setAllButtonEnabled of the OBBaseParameterWindowView javascript class, defined in the file ob-base-parameter-window-view.js, was modified to allow enabling/disabling the button that triggers the HTML output.

The javascript class OBParameterWindowView, defined in the file ob-parameter-window-view.js, was modified to:

The new response action OBUIAPP_browseReport was defined in the file ob-utilities-action-def.js to browse the gerenated HTML report in a new tab of the application.

Retrieved from ""

This page has been accessed 214 times. This page was last modified on 19 September 2016, at 08:06. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.