Jump to content

Recommended Posts

Posted

i want add a costum menu to jasperserver community edition , i added this to actionModel-navigation.xml

 

<context name="main_custom_mutton" test="!banUserRole"><selectAction labelKey="NAV_801_ACCOUNTS">  <option labelKey="NAV_802_SEARCH_IN"          action="primaryNavModule.navigationOption"          actionArgs="accounts"/>  <option labelKey="NAV_803_SEARCH_OUT"          action="externalSearchHandler"          actionArgs="extsearch"/></selectAction>[/code]

and i added this to actionModel.primaryNavigation.js

 

accounts : {url : "home.html"},extsearch :{url : "home.html"}...[/code]accounts : {url : "home.html"},extsearch :{url : "home.html"}...

after restarting tomcat , i see that my menu is added successfully , but wheni click on links there is no effect , i can't navigate to home page.

what can be wrong ?

 

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Posted

i have already added messages for all labelKey to <js-webapp>/WEB-INF/bundles/jasperserver_messages.properties
my problem is actionArgs , when i click on "accounts" or "extsearch" it has no effect , i can't switch the the URL in actionModel-navigation.xml
 

  • 3 months later...

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