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
if ( !isVirtualElement( ) )
			return null;
		
		DesignElement parent = null;
		DesignElement cur = this;
		while ( cur.getContainer( ) != null )
		{
			DesignElement container = cur.getContainer( );
			if ( container.getExtendsElement( ) != null )
			{
				parent = container.getExtendsElement( );
				break;
			}
			cur = cur.getContainer( );
		}
		
		if ( parent == null )
			return null;
		assert parent.getContainer( ) instanceof Module;
		return parent.getRoot( ).getElementByID( baseId );
	}
	/**
	 * Gets a property value given its internal name. This version does the full
	 * property search as defined by the given derived component. That is, it
	 * gets the "effective" property value. The name can be a built-in property
	 * name or a user-defined property name. However, if the name is not valid,
	 * the method will simply return a null property value.
	 * <p>
	 * The search won't search up the inheritance hierarchy if the property is
	 * defined to not inherit.