Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TOC Button

Status
Not open for further replies.

PeteWalburn

Programmer
Jan 13, 2004
63
GB
Hello,

How do I add the TOC button to the toolbar on a web report? My toolbar has the navigation, print and download buttons but no TOC button.

Pete
 
Using the JSP Active Portal my viewnavigation.jsp had the following line within function getNavigationBarForm(), between adding the print and search buttons:
addButton("toc", "<bean:message key="TT_TOC"/>", "<IMG SUPPRESS='TRUE' BORDER=0 SIZE=0 HSPACE=1 SRC='" + imgTOC + "'/>", null);

I removed this as we didn't want the TOC button. To do this I remember having to make a bunch of changes as there's some horrid code referring to the buttons using indexes into the button array... so you'll probably have to increment some of those indexes by one if you're adding a new button.

hope this helps.

- Rory
 
Roray,

Thanks for that. It should help me to sort it out.

Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top