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
DesignElement element = this;
		while ( element.getContainer( ) != null )
			element = element.getContainer( );
		if ( element instanceof Module == false )
			return null;
		return (Module) element;
	}
	/**
	 * Implements to broadcast an event to all listeners of this design element.
	 * Implementations of sendEvent( ) call this to do the actual work of
	 * broadcasting.
	 * <p>
	 * Part of: Notification system.
	 * 
	 * @param ev
	 *            the event to send
	 */
	public final void broadcast( NotificationEvent ev )
	{
		if ( this instanceof Module || getContainer( ) != null )
			broadcast( ev, getRoot( ) );
	}
	/**
	 * Implements to broadcast an event to all listeners of this design element
	 * on a design tree. Note subclasses should override this method to change
	 * the behavior of broadcast method.
	 * 
	 * Part of: Notification system.
	 * 
	 * @param ev