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
*         container is report design and slot is component slot and the
	 *         element to insert is a template element or its content is a
	 *         template element; otherwise true
	 */
	private boolean canContainTemplateElement( Module module, int slotID,
			DesignElement element )
	{
		
		
		IElementDefn defn = MetaDataDictionary.getInstance( ).getElement(
				ReportDesignConstants.TEMPLATE_ELEMENT );
		if ( element instanceof TemplateElement )
			return canContainTemplateElement( module, slotID, defn );
		ContentIterator contents = new ContentIterator( element );
		while ( contents.hasNext( ) )
		{
			DesignElement content = (DesignElement) contents.next( );
			if ( content instanceof TemplateElement )
				return canContainTemplateElement( module, slotID, defn );
		}
		return true;
	}
	/**
	 * Checks whether the element to insert can reside in the given module.
	 * 
	 * @param module
	 *            the root module of the element to add
	 * @param slotID
	 *            the slot ID to insert
	 * @param defn