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
String extendsName = getExtendsName( );
		IElementDefn defn = getDefn( );
		if ( parent == null )
		{
			throw new ExtendsException( this, extendsName,
					ExtendsException.DESIGN_EXCEPTION_NOT_FOUND );
		}
		else if ( parent.getDefn( ) != defn )
		{
			throw new ExtendsException( this, parent,
					ExtendsException.DESIGN_EXCEPTION_WRONG_TYPE );
		}
		else if ( parent == this )
		{
			throw new ExtendsException( this, extendsName,
					ExtendsException.DESIGN_EXCEPTION_SELF_EXTEND );
		}
		else if ( parent.isKindOf( this ) )
		{
			throw new ExtendsException( this, parent,
					ExtendsException.DESIGN_EXCEPTION_CIRCULAR );
		}
	}
	/**
	 * Gets the value of a property as an integer.
	 * 
	 * @param propName
	 *            the name of the property to get
	 * @param module
	 *            the module