Bug 164430 [regression]Dynamic parameter without display text display no values[0705]
Description: Dynamic parameter without display text display no values in parameter dialog when preview the report. Build number: 2.2.0.v20061114-1013 Steps to reproduce: 1. New a data source and dataset. 2. New a dynamic report parameter, keep display text none. 3. Preview Expected result: Values from dataset are listed in paramter dialog. Actual result: empty list. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
addCheckBoxListener( allowBlank, CHECKBOX_ALLOW_BLANK );
		doNotEcho = new Button( checkBoxArea, SWT.CHECK );
		doNotEcho.setText( CHECKBOX_DO_NOT_ECHO );
		addCheckBoxListener( doNotEcho, CHECKBOX_DO_NOT_ECHO );
		isHidden = new Button( checkBoxArea, SWT.CHECK );
		isHidden.setText( CHECKBOX_HIDDEN );
		addCheckBoxListener( isHidden, CHECKBOX_HIDDEN );
		needSort = new Button( checkBoxArea, SWT.CHECK );
		needSort.setText( CHECKBOX_SORT );
		addCheckBoxListener( needSort, CHECKBOX_SORT );
	}
	/**
	 * Set the input of the dialog, which cannot be null
	 * 
	 * @param input
	 *            the input of the dialog, which cannot be null
	 */
	public void setInput( Object input )
	{
		Assert.isNotNull( input );
		Assert.isLegal( input instanceof ScalarParameterHandle );
		inputParameter = (ScalarParameterHandle) input;
	}
	protected boolean initDialog( )
	{
		Assert.isNotNull( inputParameter );
		nameEditor.setText( inputParameter.getName( ) );
		if ( !StringUtil.isBlank( inputParameter.getPromptText( ) ) )
		{
			promptTextEditor.setText( inputParameter.getPromptText( ) );