if ( action.getParameterBindings( ) != null )
Map params = action.getParameterBindings( ); if ( params != null )
	protected String buildDrillAction( IAction action, Object context )	{		String baseURL = null;		if(context!=null && context instanceof HTMLRenderContext)		{			baseURL = ((HTMLRenderContext)context).getBaseURL();		}		StringBuffer link = new StringBuffer( );		String reportName = action.getReportName( );		if ( reportName != null && !reportName.equals( "" ) )//$NON-NLS-1$		{			link.append( baseURL );			link.append( "?__report=" );	//$NON-NLS-1$			try			{				link.append( URLEncoder.encode( reportName, "UTF-8" ) ); 	//$NON-NLS-1$			}			catch ( UnsupportedEncodingException e1 )			{				//It should not happen. Does nothing			}					//add format			String format = action.getFormat();			if(format!=null && format.length()>0)			{				link.append( "&__format=" + format );//$NON-NLS-1$			}			//Adds the parameters			if ( action.getParameterBindings( ) != null )			{				Iterator paramsIte = action.getParameterBindings( ).entrySet( ).iterator( );				while ( paramsIte.hasNext( ) )				{					Map.Entry entry = (Map.Entry) paramsIte.next( );					try					{						link.append( "&" + URLEncoder.encode( (String) entry.getKey( ), "UTF-8" ) + "=" + URLEncoder.encode( (String) entry.getValue( ), "UTF-8" ) );//$NON-NLS-1$									}					catch ( UnsupportedEncodingException e )					{						//Does nothing					}				}			}		}		//The search rules are not supported yet.		if ( action.getBookmark( ) != null )		{			link.append( "#" );//$NON-NLS-1$			link.append( action.getBookmark( ) );		}		return link.toString( );	}