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
* 
	 * @param module
	 *            the module information needed for the check, and records any
	 *            errors
	 * @param prop
	 *            the property whose type is element reference
	 * @return the element reference value is always returned, which contains
	 *         the information of element resolution.
	 */
	public ElementRefValue resolveElementReference( Module module,
			ElementPropertyDefn prop )
	{
		Object value = propValues.get( prop.getName( ) );
		assert value == null || value instanceof ElementRefValue;
		if ( value == null || module == null )
			return (ElementRefValue) value;
		ElementRefValue ref = (ElementRefValue) value;
		if ( ref.isResolved( ) )
			return ref;
		
		
		
		
		
		
		ElementRefPropertyType refType = (ElementRefPropertyType) prop
				.getType( );
		refType.resolve( module, prop, ref );
		if ( ref.isResolved( ) )
			ref.getTargetElement( ).addClient( this, prop.getName( ) );