Bug 140985 Cancel button in parameter dialog doesn't work
Description: Cancel button in parameter dialog doesn't work Steps to reproduce: 1. New a parameter 2. Preview and click Cancel Expected result: Transfer to layout Actual result: Nothing happened.
UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java
{
						Object curVal = params.get( parameter.getName( ) );
						if ( curVal != null )
							paramValue = curVal.toString( );
					}
					else
					{
						paramValue = parameter.getDefaultValue( );
					}
					if ( paramValue == null && !parameter.allowNull( ) )
					{
						missingParameter = true;
						break;
					}
					if ( paramValue != null
							&& paramValue.trim( ).length( ) <= 0
							&& !parameter.allowBlank( )
							&& parameter.getDataType( ).equalsIgnoreCase(
									DesignChoiceConstants.PARAM_TYPE_STRING ) )
					{
						missingParameter = true;
						break;
					}
				}
			}
		}
		return missingParameter;
	}
}