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
baseURL = ( (HTMLRenderContext) context ).getBaseURL( );
		}
		if ( context instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) context ).getBaseURL( );
		}
		link.append( baseURL );
		link.append( ParameterAccessor.QUERY_CHAR );
		
		if ( document != null )
		{
			link.append( ParameterAccessor.PARAM_REPORT_DOCUMENT );
			link.append( ParameterAccessor.EQUALS_OPERATOR );
			String documentName = document.getName( );
			try
			{
				documentName = URLEncoder.encode( documentName,
						ParameterAccessor.UTF_8_ENCODE );
			}
			catch ( UnsupportedEncodingException e )
			{
				
			}
			link.append( documentName );
		}
		else if ( action.getReportName( ) != null
				&& action.getReportName( ).length( ) > 0 )
		{
			link.append( ParameterAccessor.PARAM_REPORT );
			link.append( ParameterAccessor.EQUALS_OPERATOR );