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
catch ( NameException e )
		{
			stack.rollback( );
			throw e;
		}
		stack.commit( );
	}
	/**
	 * Does some actions when the content is removed from the design tree.
	 * 
	 * @param content
	 *            the content to remove
	 * @param unresolveReference
	 *            status whether to un-resolve the references
	 * @throws SemanticException
	 */
	private void doDelectAction( DesignElement content,
			boolean unresolveReference ) throws SemanticException
	{
		
		removeContents( content );
		
		dropUserProperties( content );
		if ( content.hasReferences( ) )
			adjustReferenceClients( (ReferenceableElement) content,
					unresolveReference );
		adjustReferredClients( content );
		adjustDerived( content );
		
		if ( content.getStyle( module ) != null )