anass.oasis Posted July 24, 2015 Posted July 24, 2015 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 ?
elizam Posted July 27, 2015 Posted July 27, 2015 You also need to add something to <js-webapp>/WEB-INF/bundles/jasperserver_messages.propertiessee this link for more information:http://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v60/adding-item-main-menu-0
anass.oasis Posted July 28, 2015 Author Posted July 28, 2015 i have already added messages for all labelKey to <js-webapp>/WEB-INF/bundles/jasperserver_messages.propertiesmy 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
ravishankar03077 Posted November 1, 2015 Posted November 1, 2015 I am also facing the same problem. Menu item is visible but no action when I click. How did you fix this ?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now