Bug 136564 Use a parameter from library, format can be inherited.
Use a parameter from library, format can be inherited. Steps: 1.Create a library named lib1, create a parameter named p1, string, default value: "abc", formatted as Uppercase 2.Create a report, use the lib1, drag the p1 from lib1 to the layout 3.Preview Actual Results: 1.P1 can not be formatted as Uppercase Expected Results: 1.P1 can be formatted as uppercase
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
{
				displayTextChooser.setText( columnName );
			}
			if ( defaultValue != null )
			{
				defaultValueEditor.setText( defaultValue );
			}
		}
		updateMessageLine( );
	}
	private void initFormatField( )
	{
		if ( ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( lastControlType ) && DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( getSelectedDataType( ) ) )
				|| ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( lastControlType ) && DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( getSelectedDataType( ) ) ) )
		{
			return;
		}
		IChoiceSet choiceSet = getFormatChoiceSet( getSelectedDataType( ) );
		if ( choiceSet == null )
		{
			formatCategroy = formatPattern = null;
		}
		else
		{
			if ( !loading
					|| ( ( inputParameter.getCategory( ) == null && inputParameter.getPattern( ) == null ) ) )
			{
				if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( getSelectedDataType( ) ) )
				{
					formatCategroy = choiceSet.findChoice( DesignChoiceConstants.STRING_FORMAT_TYPE_UNFORMATTED )