Bug 139343 [regression]Can not use __document to preview report document when deploy birt.
Summary: [regression]Can not use __document to preview report document when deploy birt. Steps to reproduce: 1. Deploy birt 2. Render a report document 3. Preview the report document by using __document Result: The design file C:\apps\jakarta-tomcat-5.5.7\webapps\birt060428\ has error and can not be run.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
}
	public Object getParameterDefaultValue( IViewerReportDesignHandle design,
			String parameterName, InputOptions options )
			throws ReportServiceException
	{
		try
		{
			IGetParameterDefinitionTask task = getParameterDefinitionTask( design
					.getFileName( ) );
			return task.getDefaultValue( parameterName );
		}
		catch ( EngineException e )
		{
			throw new ReportServiceException( e.getLocalizedMessage( ) );
		}
	}
	public Collection getParameterHandles( IViewerReportDesignHandle design,
			InputOptions options ) throws ReportServiceException
	{
		try
		{
			IGetParameterDefinitionTask parameterTask = getParameterDefinitionTask( design
					.getFileName( ) );
			if ( parameterTask == null )
				throw new ReportServiceException( "Can not get parameter task." ); 
			return parameterTask.getParameters( ).getContents( );
		}
		catch ( EngineException e )
		{
			throw new ReportServiceException( e.getLocalizedMessage( ) );