Report (attribute of next)

From JRapid

Jump to: navigation, search

The "next" element with the "type" attribute set to "report" makes a report to be opened after a form is submitted.

Usage

    <next type="report" report=REPORT pdf="pdf" />
  • report: The name of the report.
  • pdf: (optional). If set, a PDF window displaying de report is opened. If not, an HTML page displaying a link to the report is opened.

Example

For example, after a pet vaccination form submission, a vaccination report can be automatically opened ready to be printed.

<entity name="Vaccination">
  ...
  <next type="report" report="VaccinationReport" />
  ...
</entity>

See also

Personal tools