Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
element.propValues.put( key, clonedValue );
			
			
			if ( propDefn.getTypeCode( ) == IPropertyType.ELEMENT_TYPE )
			{
				if ( propDefn.isList( ) )
				{
					List values = (ArrayList) clonedValue;
					for ( int i = 0; i < values.size( ); i++ )
					{
						DesignElement item = (DesignElement) values.get( i );
						item.setContainer( element, key );
					}
				}
				else
				{
					( (DesignElement) clonedValue ).setContainer( element, key );
				}
			}
		}
		return element;
	}
	/**
	 * Caches the child-to-container relationship. The caller must have
	 * validated that the relationship is valid.
	 * <p>
	 * Part of: The containment system.
	 * 
	 * @param obj
	 *            the container to set