Bug 136241 [regression]Preview template in web viewer and pdf didn't get correct effect.
Description: Preview template items in web viewer and pdf didn't get correct effect. Steps to reproduce: 1. Create template items. 2. Preview in Web Viewer and pdf. Expected result: Same effect as in html. Actual result: In web viewer, see only blank box. In pdf, blank page.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
if ( value instanceof ArrayList )
			return (ArrayList) value;
		return null;
	}
	/**
	 * Gets the set of property definitions available to this element. Includes
	 * all properties defined for this element, all user-defined properties
	 * defined on this element or its ancestors, and any style properties that
	 * this element supports.
	 * 
	 * @return a list of property definitions
	 */
	public List getPropertyDefns( )
	{
		List list = getDefn( ).getProperties( );
		DesignElement e = this;
		while ( e != null )
		{
			if ( e.userProperties != null )
				list.addAll( e.userProperties.values( ) );
			e = e.getExtendsElement( );
		}
		return list;
	}
	/**
	 * Returns the internal name of the element. This name matches the name of
	 * the definition for the element.
	 * 
	 * @return the internal element type name for this element
	 */