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
ExceptionHandler.handle( e1 );
			}
		}
	}
	private void doPreview( String pattern )
	{
		String type = getSelectedDataType( );
		String formatStr = ""; 
		if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )
		{
			formatStr = new StringFormatter( pattern, Locale.getDefault( ) ).format( DEFAULT_PREVIEW_STRING );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )
		{
			formatStr = new DateFormatter( pattern ).format( new Date( ) );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type )
				|| DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) )
		{
			formatStr = new NumberFormatter( pattern ).format( DEFAULT_PREVIEW_NUMBER );
		}
		previewLable.setText( formatStr );
	}
	private String getCategroy( String formatString )
	{
		if ( formatString != null )
		{
			return formatString.split( ":" )[0]; 
		}
		return null;