Bug 146709 Dates still do not work from main report to sub reports...
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
* @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( "" ) ) 
		{
			String format = action.getFormat( );
			if ( ParameterAccessor.PARAM_FORMAT_PDF.equalsIgnoreCase( format ) )
			{
				link.append( baseURL.replaceFirst( "frameset", "run" ) ); 
			}
			else
			{
				link.append( baseURL );
			}
			link
					.append( reportName.toLowerCase( )
							.endsWith( ".rptdocument" ) ? "?__document=" : "?__report=" ); 
			try
			{
				link.append( URLEncoder.encode( reportName,