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/CascadingParametersDialog.java
private DataSetHandle getDataSet( String name )
	{
		return inputParameterGroup.getModuleHandle( ).findDataSet( name );
	}
	private void setCellEditorItems( )
	{
		( (ComboBoxCellEditor) cellEditors[2] ).setItems( getDataSetColumns( selectedParameter,
				true ) );
		( (ComboBoxCellEditor) cellEditors[3] ).setItems( getDataSetColumns( selectedParameter,
				false ) );
	}
	private IStructuredContentProvider contentProvider = new IStructuredContentProvider( ) {
		public Object[] getElements( Object inputElement )
		{
			ArrayList elementsList = new ArrayList( inputParameterGroup.getParameters( )
					.getContents( ) );
			for ( Iterator iter = elementsList.iterator( ); iter.hasNext( ); )
			{
				ScalarParameterHandle handle = (ScalarParameterHandle) iter.next( );
				String[] columns = getDataSetColumns( handle, false );
				boolean found = false;
				for ( int i = 0; i < columns.length; i++ )
				{
					if ( DEUtil.getColumnExpression( columns[i] )
							.equals( handle.getValueExpr( ) ) )
					{
						found = true;
						break;
					}
				}