Jump to content
Changes to the Jaspersoft community edition download ×

Customize Main Menu Doesn't Work


Alex42

Recommended Posts

I have a bit of a problem unfortunately caused by a lack of example in the Jasper Server Ultimate guide

My intention is to create an aditional menu in to top bar of the Server. The purpose of this menu is to actually run several frequent reports when click on. I followed the guide from here

http://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v630/adding-new-main-menu

The new menu appears in the top bar but there is no acction being taken when i click on it.I get MENU with drop down and Reports, but when i click Reports nothing happens. I am assuming it is because the URL and parameters defined in actionModel.primaryNavigation.js file are wrong but there are no examples of actually calling a report in the file or in the guide(please correct).

i currently have:

in actionModel-navigation.xml

    <!--custom menu-->
    <context name="main_custom_mutton" test="!banUserRole">
      <selectAction labelKey="NAV_801_MENU">
        <option labelKey="NAV_806_Reports"
              action="primaryNavModule.navigationOption"
              actionArgs="reports"/>
      </selectAction>
    </context>
 
in pro_nav_messages.properties
NAV_801_MENU=Menu
NAV_806_Reports=Reports
 
in  actionModel.primaryNavigation.js  under  navigationPaths 
reports : {url : "flow.html", params : "_flowId=viewReportFlow&ParentFolderUri=/Path&reportUnit=/Path/Report_URI"}
 
What am i doing wrong?
 

 

 

 

Link to comment
Share on other sites

  • 6 months later...
  • 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...