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
* Determines whether this element and its contents are managed by
	 * namespace. If this element is a pending node and not in any module, or it
	 * is contained in a slot that is not managed by namespace, then return
	 * false. Otherwise true.
	 * 
	 * @param slotID
	 *            the slot ID in this element
	 * @return true if this element and its contents are managed by namespace,
	 *         otherwise false
	 */
	public boolean isManagedByNameSpace( int slotID )
	{
		
		if ( getRoot( ) == null )
			return false;
		
		DesignElement containerObj = this;
		int slot = slotID;
		while ( containerObj != null )
		{
			ElementDefn defn = (ElementDefn) containerObj.getDefn( );
			SlotDefn slotInfo = (SlotDefn) defn.getSlot( slot );
			if ( slotInfo != null && !slotInfo.isManagedByNameSpace( ) )
				return false;
			slot = containerObj.getContainerSlot( );
			containerObj = containerObj.getContainer( );
		}
		return true;
	}
	/**