Bug 200290 The warning message "A Column Binding Name as xxx already exist" should occurs while input the column binding name but not the expression[0001]
Description: The warning message "A Column Binding Name as xxx already exist" should occurs while input the column binding name but not the expression[0001] Build number: 2.2.1.v20070817-0630 Steps to reproduce: 1, New a table binding on a dataset 2, Insert a data item and input a already existed name such as CUSTOMERNUMBER 3, Specify the expression Expected result: In step2, a warning message: "A Column Binding Name as xxx already exist" should occurs to warning the user Actual result: In step3, the warning message occurs I think we should pops up this message during inputting column binding name but not inputting column binding expression. Hope to enhance that.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/BindingDialogHelper.java
private void createAggregateSection( Composite composite )
	{
		new Label( composite, SWT.NONE ).setText( FUNCTION );
		cmbFunction = new Combo( composite, SWT.BORDER | SWT.READ_ONLY );
		cmbFunction.setLayoutData( new GridData( GridData.FILL_HORIZONTAL
				| GridData.GRAB_HORIZONTAL ) );
		WidgetUtil.createGridPlaceholder( composite, 1, false );
		cmbFunction.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				handleFunctionSelectEvent( );
			}
		} );
		new Label( composite, SWT.NONE ).setText( DATA_FIELD );
		cmbDataField = new Combo( composite, SWT.BORDER );
		cmbDataField.setLayoutData( new GridData( GridData.FILL_HORIZONTAL
				| GridData.GRAB_HORIZONTAL ) );
		createExpressionButton( composite, cmbDataField );
		cmbDataField.addModifyListener( new ModifyListener( ) {
			public void modifyText( ModifyEvent e )
			{
				validate( );
			}
		} );
		cmbDataField.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				String expr = getColumnBindingExpressionByName( cmbDataField.getText( ) );
				if ( expr != null )
				{