Bug 147995 Master page lost when drill through to a report document
Description: Master page lost when drill through to a report document Steps to reproduce: 1. New a report rpt1 with master page 2. Generate the report document for rpt1 3. New another report rpt2, drill through to the report document 4. Preview rpt2, link to the report document, master page is missing
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
ParameterGroupDefinition paramGroup = new ParameterGroupDefinition(
				engineParam.getName( ), engineParam.getDisplayName( ),
				engineParam.getPromptText( ), null, cascade );
		List contents = convertParametersInGroup( engineParam.getContents( ),
				paramGroup, task );
		paramGroup.setParameters( contents );
		return paramGroup;
	}
	private static ParameterDefinition convertScalarParameter(
			IScalarParameterDefn engineParam, ParameterGroupDefinition group,
			IGetParameterDefinitionTask task )
	{
		Object handle = engineParam.getHandle( );
		ScalarParameterHandle scalarParamHandle = null;
		if ( handle instanceof ScalarParameterHandle )
			scalarParamHandle = (ScalarParameterHandle) handle;
		String name = engineParam.getName( );
		String pattern = scalarParamHandle == null ? "" : scalarParamHandle 
				.getPattern( );
		String displayFormat = engineParam.getDisplayFormat( );
		String displayName = engineParam.getDisplayName( );
		String helpText = engineParam.getHelpText( );
		String promptText = engineParam.getPromptText( );
		int dataType = engineParam.getDataType( );
		int controlType = engineParam.getControlType( );
		boolean hidden = engineParam.isHidden( );
		boolean allowNull = engineParam.allowNull( );
		boolean allowBlank = engineParam.allowBlank( );
		boolean mustMatch = scalarParamHandle == null
				? false