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/command/TemplateCommand.java
.getName( ) ) != definition )
				{
					try
					{
						definition = (TemplateParameterDefinition) definition
								.clone( );
					}
					catch ( CloneNotSupportedException e )
					{
						assert false;
					}
					module.makeUniqueName( definition );
					return definition;
				}
			}
		}
		return null;
	}
	/**
	 * Creates a template element and replace the content element with this
	 * created template element. In this method, create a template definition
	 * based on the given content element and add it to the report design first.
	 * Then, let the created template element refer the added template parameter
	 * definition.
	 * 
	 * @param base
	 *            the base report item or data set element to be transformed to
	 *            a template element
	 * @param slotID
	 *            the slot of the container