Bug 114903 Default values are not shown in Show Report Parameters' dialog
Description: Default values are not shown in Show Report Parameters' dialog Steps to reproduce: 1. Create several report parameters, only set default value for them. 2. Drag them to Layout 3. Preview and click Show Report Parameters button. Expected result: Default values are shown in value box, so I can modify the parameter which I want to change. Actual result: In Enter Parameters dialog, all values were empty, I just wanted to modify one parameter and found that I had to input all values.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
private void updateButtons( )
	{
		boolean okEnable = true;
		if ( dataSet == null )
		{
			okEnable = false;
		}
		else
		{
			Iterator iter = inputParameterGroup.getParameters( ).iterator( );
			if ( !iter.hasNext( ) )
			{
				okEnable = false;
			}
			else
			{
				int count = 0;
				while ( iter.hasNext( ) )
				{
					Object obj = iter.next( );
					if ( obj instanceof ScalarParameterHandle )
					{
						ScalarParameterHandle param = (ScalarParameterHandle) obj;
						count++;
						if ( param.getValueExpr( ) == null )
						{
							okEnable = false;
							break;
						}
					}