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
cmd.transformTemplate( base, template, slotID, true );
		}
		catch ( SemanticException e )
		{
			stack.rollback( );
			throw e;
		}
		stack.commit( );
		return template;
	}
	/**
	 * Creates a template definition based on the "base" element, add it to the
	 * report design and let the given template element handle refer the
	 * template definition.
	 * 
	 * @param template
	 *            the template element
	 * @param base
	 *            the base element to create a template parameter definition
	 */
	private void createTemplateFromDesignElement( TemplateElement template,
			DesignElement base )
	{
		assert base instanceof ReportItem || base instanceof SimpleDataSet;
		assert template != null;
		assert module instanceof ReportDesign;
		
		
		try
		{