Bug 132096 TOC pane will be closed when hyperlink to internal bookmark
Steps to reproduce: 1.Add a label with TOC "aaa" and bookmark "a" 2.Add a table below the label, and set pagebreakBefore_Always, pagebreakAfter_Always on the table 3.Add a label with TOC "bbb" and bookmark "b" below the table 4.Preview the report in Web Viewer 5.Open the TOC pane and jump to page3 6.Click lable in page3 Expected result: TOC pane won't be closed when jumping to page1 Actual result: TOC pane is closed
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
.valueOf( this.isMasterPageContent ) ) );
		if ( realBookmark )
		{
			link.append( "#" ); 
			link.append( bookmark );
		}
		else
		{
			link.append( ParameterAccessor.getQueryParameterString(
					ParameterAccessor.PARAM_BOOKMARK, bookmark ) );
		}
		return link.toString( );
	}
	/**
	 * builds URL for drillthrough action
	 * 
	 * @param action
	 *            instance of the IAction instance
	 * @param context
	 *            the context for building the action string
	 * @return a URL
	 */
	protected String buildDrillAction( IAction action, Object context )
	{
		if ( action == null || context == null )
			return null;
		String baseURL = null;
		if ( context instanceof HTMLRenderContext )
		{
			baseURL = ( (HTMLRenderContext) context ).getBaseURL( );