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
* @return <code>true</code> if the current element can contain the
	 *         <code>element</code>, otherwise <code>false</code>.
	 */
	public final boolean canContain( Module module, int slotId,
			DesignElement element )
	{
		boolean retValue = canContainInRom( slotId, element.getDefn( ) );
		if ( !retValue )
			return false;
		
		
		
		
		
		if ( !canContainTemplateElement( module, slotId, element ) )
			return false;
		
		
		if ( isRootIncludedByModule( ) )
			return false;
		
		
		if ( isVirtualElement( ) || getExtendsName( ) != null )
			return false;
		
		DesignElement tmpContainer = this;
		while ( tmpContainer != null )
		{
			if ( tmpContainer instanceof ListingElement
					|| tmpContainer instanceof Theme