Hi!
I am trying to add a custom entry to the InfoView Toolbar.
I managed following:
1. added to <Tomcat>/webapps/InfoViewApp/WEB-INF/web.xml following:
<context-param>
<param-name>img.toolbar.information</param-name>
<param-value>toolbar/information.gif</param-value>
</context-param>
2. added to <Tomcat>/webapps/InfoViewApp/jsp/listing/headerPlus.jsp
toolbar.beginRightZone();
// add here
<fmt:message var="ttInformation" key='main.menu.information.tooltip'/>
toolbarCtrl.add (newIconWidget("btnInformation",
"<%= context + SESSION_SCHEMA.getUrl(application, "img.toolbar.information") %>",onBtnInformationClick,
'<%= Encoder.encodeJS((String)pageContext.findAttribute("ttInformation")) %>',
'<%= Encoder.encodeJS((String)pageContext.findAttribute("ttInformation")) %>',16,16,0,0,25,3));
toolbar.add (); // Separator
and
function onBtnInformationClick()
{
window.open ('http://www.sap.com', 'Sap', config='height=350,width=350, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no');
}
3. added to <Tomcat>/webapps/InfoViewApp/WEB-INF/src/com/businessobjects/infoview/ApplicationResources.properties
main.menu.informaton.tooltip=Get more Information
When I now access InfoView, I get the menu and also the shortcut. But the menu is displayed as "???main.menu.information.tooltip???".
Does anybody know, what I forgot?
Thanks, for any help!
ciao Hakan