Jump to content
Changes to the Jaspersoft community edition download ×

Adding to the menu


sjbradshaw

Recommended Posts

I am trying to add reports to the main View menu and spent over a day now reading and re-reading the manual and trying things to get it working but without success.

Items have been adde to the menu OK by editing actionmodel-navigation.xml.

eg. <option labelKey="menu.r1" action="primarynavModule.navigationOption" actionArgs="actionarg"/>

The problem is in getting this to do anything useful.

If I make "actionarg" the same as an existing navigationpath such as "search" it works fine but  I have added my own navigation paths, even tried just replicating the the search function but can not get it to work.

In the browser console I get 'Uncaught TypeError : Cannot read property 'params' of undefined at Object.setNewLocation.

It's as if my changes in actionModel.primaryNavigation.js are being ignored. (I'm clearing all browsing data each time I edit it too.)

Any ideas what I could be doing wrong here?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...