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
}
		return target;
	}
	/**
	 * Resets the element Id for the content element and its sub elements.
	 * 
	 * @param element
	 *            the element to add
	 * @param isAdd
	 *            whether to add or remove the element id
	 */
	public void manageId( DesignElement element, boolean isAdd )
	{
		if ( element == null )
			return;
		
		if ( element.getRoot( ) != this )
			return;
		IElementDefn defn = element.getDefn( );
		if ( isAdd )
		{
			
			if ( element.getID( ) <= NO_ID
					|| ( getElementByID( element.getID( ) ) != null && getElementByID( element
							.getID( ) ) != element ) )
			{
				element.setID( getNextID( ) );
				assert getElementByID( element.getID( ) ) == null;
			}
			if ( getElementByID( element.getID( ) ) == null )