Bug 199537 Fail to display data in Web viewer[0002]
Description: Fail to display data in Web viewer Build number:2.2.1.v200708101407 Steps to reproduce: 1. Preview attached report in Web Viewer. Expected result: Display data. Actual result: No data. Error log:n/a
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
}
	/**
	 * Returns the copy of <code>value</code>. Structure, structure list,
	 * element reference values, etc. are dumped as a new copy.
	 * 
	 * @param propDefn
	 *            the property/member definition
	 * @param value
	 *            the source value
	 * @return the copy of <code>value</code>
	 * 
	 */
	private Object createNewStructureValue( PropertyDefn propDefn, Object value )
	{
		Object newValue = null;
		if ( propDefn.isList( ) )
		{
			List sourceValue = (List) value;
			newValue = new ArrayList( );
			for ( int i = 0; i < sourceValue.size( ); i++ )
			{
				Structure newStruct = doCreateNewStructureValue( (Structure) sourceValue
						.get( i ) );
				( (List) newValue ).add( newStruct );
			}
		}
		else
			newValue = doCreateNewStructureValue( (Structure) value );
		return newValue;
	}