Bug 136241 [regression]Preview template in web viewer and pdf didn't get correct effect.
Description: Preview template items in web viewer and pdf didn't get correct effect. Steps to reproduce: 1. Create template items. 2. Preview in Web Viewer and pdf. Expected result: Same effect as in html. Actual result: In web viewer, see only blank box. In pdf, blank page.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
* <code>ReportDesign</code> or <code>Library</code>.
	 * 
	 * @return the root node of the design tree
	 */
	public Module getRoot( )
	{
		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