Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
...nobody




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseJasperReports


This is version 10. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


JasperReport on AppFuse - Putting JasperReports to work on AppFuse.

About this Tutorial

This tutorial will show you how to add a Controller to generate reports from AppFuse user account database.

Table of Contents

  • [1] Create the UserReportController Controller
  • [2] Configuring JasperReports on AppFuse
  • [3] Designing Reports
  • [4] Putting all together

Create the UserReportController Controller [#1]

One of the forms to call a report is to implement a new controller. We go to use one of the great characteristic that Spring MVC possess, the possibility of implement/extend one of existing controllers - one in special, MultiActionController. For that we will create the UserReportController controller, which will extends from MultiActionController controller. Plugin insertion failed: Unsupported parameter 'private'.
ParameterDescriptionExample
printVersionIf specified, the plugin only prints its name an version.printVersion='true'
tabSizeNumber of spaces representing a tab character. Default is 2.tabSize='4'
stylesupported styles are: Eclipse, Kawa, Monochromestyle='monochrome'
borderboolean flag for rendering a table border around the converted result. Default is falseborder='true'
attachmentIf specified, the source code from the attached Java file will be used.attachment='HelloWorld.java'
urlIf specified, the source code from the Java file given by the url will be used (only available if this option is enabled in the wiki properties).url='http://www.java2html.de/HelloWorld.java'
alignmentSpecifies the horizontal alignment of the output. Supported values are: left, center, right default is left.alignment='center'
lineNumbersboolean flag for rendering line numbers. Default is falselineNumbers='true'
sourceIf specified, the source code contained in this parameter value will be used (only valid for one line of code).source='public final static main(String[] args);'

Attachments:
ReportsTest.java Info on ReportsTest.java 891 bytes
Reports2.java Info on Reports2.java 2600 bytes
UserReportControllerTest.java Info on UserReportControllerTest.java 963 bytes
userreportview.png Info on userreportview.png 17481 bytes
lib.properties Info on lib.properties 6258 bytes
UserReportController.java Info on UserReportController.java 2074 bytes
Reports.java Info on Reports.java 2384 bytes
userreport-smaller.png Info on userreport-smaller.png 128635 bytes
action-servlet.xml Info on action-servlet.xml 7044 bytes
userList.jrxml Info on userList.jrxml 20590 bytes
userreport.png Info on userreport.png 83924 bytes


Go to top   More info...   Attach file...
This particular version was published on 06-Nov-2006 13:52:54 MST by Gilbertoca.