Jump to content

Need some serious help with iReport and jasper.


pete3031

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

The data source that you set up in iReport is not saved in the jasperreport. You have to redefine the data source when you add the jasperreport as a resource to JasperReports Server. For example, right-click the Samples folder in server and choose Add Resource. Use the Add JasperReport wizard Data Source button to define the data source. The JasperReports Server User Guide has step-by-step instructions in chapter 5 for adding a simple report to the repository. I think it might help to take a look.

There's an article about setting up data sources here:

jasperforge.org/plugins/mwiki/index.php/Jasperserver

Regarding your email question, Do you know if it is possible to create a new top menu? A new button like view and create?

Yes, you can create a new top menu.

1. In the actionModel-navigation.xml, you create a menu mutton similar to the ones you see there (see code).

2. In pro_nav_messages.properties (JRS-pro) or jasperserver_messages.properties (community), define the NAV key for example NAV_032_MYMENU.

3. Add a navigation path in the actionModel.primaryNavigation.js.

Here's a link to a document that describes making some similar (but not exactly what you asked about) customizations to JRS-pro that might help:

jasperforge.org/uploads/forum/102/87270/customizing_server.pdf

See also: jasperforge.org/projects/jasperserver/docs

 

Code:
<!--context for view option on primary menu--><context name="main_mytopmenu_mutton">. . .<option labelKey="NAV_032_MYTOPMENU" action="primaryNavModule.navigationOption"actionArgs="mytopmenu"/></selectAction></context>

Post Edited by khahn at 02/20/2012 23:26
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...