Bug 119566 Support template items in page header/footer
Currently you can't create template report items inside a page header/footer. This should be fixed.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
return true;
	}
	/**
	 * checks if the element contains any sub level element is a template.
	 * 
	 * @return true if contain template element, otherwise return false.
	 */
	private boolean isContainTamplateElement( )
	{
		boolean isFound = false;
		int slotCount = getDefn( ).getSlotCount( );
		for ( int i = 0; i < slotCount; i++ )
		{
			if ( isFound )
				break;
			ContainerSlot contentSlot = getSlot( i );
			Iterator iter = contentSlot.iterator( );
			while ( iter.hasNext( ) )
			{
				Object content = iter.next( );
				if ( content instanceof TemplateElement )
					isFound = true;
				else
					isFound = ( (DesignElement) content )
							.isContainTamplateElement( );
			}
		}
		return isFound;
	}
}