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/StyleElement.java
Theme containerTheme = (Theme) tmpContainer;
				if ( containerTheme.hasReferences( ) )
				{
					List refs = ( (Theme) tmpContainer ).getClientList( );
					for ( int i = 0; i < refs.size( ); i++ )
						modules.add( ( (BackRef) refs.get( i ) ).getElement( ) );
				}
			}
			else
				modules.add( module );
			for ( int i = 0; i < modules.size( ); i++ )
				broadcastToModule( (Module) modules.get( i ), selectors );
		}
	}
	/**
	 * @param module
	 *            the module of the style element
	 * @param selectorName
	 *            the selector name
	 */
	private void broadcastToModule( Module module, List selectorList )
	{
		assert !selectorList.isEmpty( );
		
		Iterator iter = selectorList.iterator( );
		while ( iter.hasNext( ) )
		{
			String selectorName = (String) iter.next( );
			if ( REPORT_SELECTOR.equals( selectorName ) )
			{