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/metadata/PropertyDefn.java
getTriggerDefnSet( ).add( triggerDefn );
				
				if ( subType.getTypeCode( ) == IPropertyType.ELEMENT_REF_TYPE )
					buildElementType( );
				break;
			case IPropertyType.ELEMENT_TYPE :
				
				if ( !( details instanceof List ) )
					throw new MetaDataException(
							new String[]{name, type.getName( )},
							MetaDataException.DESIGN_EXCEPTION_MISSING_ELEMENT_TYPE );
				List elementNames = (List) details;
				if ( elementNames.isEmpty( ) )
					throw new MetaDataException(
							new String[]{name, type.getName( )},
							MetaDataException.DESIGN_EXCEPTION_MISSING_ELEMENT_TYPE );
				List elementTypes = new ArrayList( );
				for ( int i = 0; i < elementNames.size( ); i++ )
				{
					String elementName = (String) elementNames.get( i );
					ElementDefn type = (ElementDefn) dd
							.getElement( elementName );
					if ( type == null )
						throw new MetaDataException(
								new String[]{(String) elementName, name},
								MetaDataException.DESIGN_EXCEPTION_UNDEFINED_ELEMENT_TYPE );
					elementTypes.add( type );
				}
				details = elementTypes;
				break;