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/command/ContentCommand.java
* element, except for extends and style element references. Unlike the
	 * method {@link #adjustReferenceClients(ReferenceableElement,boolean)},
	 * this method removes references from those elements that are referred.
	 * 
	 * @param element
	 *            the element to be deleted
	 * 
	 */
	private void adjustReferredClients( DesignElement element )
	{
		List propDefns = element.getPropertyDefns( );
		for ( Iterator iter = propDefns.iterator( ); iter.hasNext( ); )
		{
			PropertyDefn propDefn = (PropertyDefn) iter.next( );
			
			
			if ( DesignElement.EXTENDS_PROP.equalsIgnoreCase( propDefn
					.getName( ) )
					|| StyledElement.STYLE_PROP.equalsIgnoreCase( propDefn
							.getName( ) ) )
				continue;
			if ( propDefn.getTypeCode( ) == PropertyType.ELEMENT_REF_TYPE
					|| propDefn.getTypeCode( ) == PropertyType.STRUCT_REF_TYPE )
			{
				Object value = element.getLocalProperty( module,
						(ElementPropertyDefn) propDefn );
				if ( value != null )
				{
					if ( ( value instanceof StructRefValue )
							|| ( (ElementRefValue) value ).isResolved( ) )