Bug 209464 Drill-through link should pass svg parameter value[0002]
Description: Drill-through link should pass svg parameter value Build number:2.3.0.v20071112 Steps to reproduce: 1. Insert a chart. 2. Define drill-through link in chart interactivity which link to the current report. 3. In preference, enable svg. 4. Preview and click the link. Expected result: Display chart with same type after drill-through link Actual result: In preview page, chart is svg chart.After drill-through link, the same chart in the linked page has gray background which means the chart is converted to non-svg image. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
* 
	 * @param action
	 * @param context
	 * @return the bookmark url
	 */
	protected String buildBookmarkAction( IAction action, IReportContext context )
	{
		if ( action == null || context == null )
			return null;
		
		String baseURL = null;
		Object renderContext = getRenderContext( context );
		if ( renderContext instanceof HTMLRenderContext )
		{
			baseURL = ( (HTMLRenderContext) renderContext ).getBaseURL( );
		}
		if ( renderContext instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( );
		}
		if ( baseURL == null )
			return null;
		
		String bookmark = action.getBookmark( );
		if ( baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_FRAMESET ) > 0 )
		{
			
			
			String func = "catchBookmark('" + ParameterAccessor.htmlEncode( bookmark ) + "');"; 
			return "javascript:try{" + func + "}catch(e){parent." + func + "};";