Bug 120345 Need a URL generator API from Engine
The Chart Engine needs the ability to generate a viewer URL from an ActionHandle, this can be provided by a Report Engine public API for instance. The URL should usable as is by the viewer without any additional change. The Chart Engine can take care of evaluating the expressions inside the ActionHandle before calling the Report Engine API if necessary.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/HTMLActionHandler.java
return null;
		
	}
	/**
	 * 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 )
	{
		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( "" ) )
		{
			link.append( baseURL );
			link.append( "?__report=" );	
			try
			{
				link.append( URLEncoder.encode( reportName, "UTF-8" ) ); 	
			}
			catch ( UnsupportedEncodingException e1 )
			{