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/Module.java
addElementID( element );
		}
		else
		{
			dropElementID( element );
		}
		for ( int i = 0; i < defn.getSlotCount( ); i++ )
		{
			ContainerSlot slot = element.getSlot( i );
			if ( slot == null )
				continue;
			for ( int pos = 0; pos < slot.getCount( ); pos++ )
			{
				DesignElement innerElement = slot.getContent( pos );
				manageId( innerElement, isAdd );
			}
		}
	}
	/**
	 * Gets the location information of the module.
	 * 
	 * @return the location information of the module
	 */
	public String getLocation( )
	{
		assert systemId != null;
		if ( fileName == null )
			return systemId.toString( );
		return systemId + StringUtil.extractFileNameWithSuffix( fileName );
	}