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
TemplateParameterDefinition templateParam = new TemplateParameterDefinition( );
			module.makeUniqueName( templateParam );
			
			PropertyCommand propertyCmd = new PropertyCommand( module,
					templateParam );
			if ( base instanceof SimpleDataSet )
				propertyCmd.setProperty(
						TemplateParameterDefinition.ALLOWED_TYPE_PROP,
						DesignChoiceConstants.TEMPLATE_ELEMENT_TYPE_DATA_SET );
			else
				propertyCmd.setProperty(
						TemplateParameterDefinition.ALLOWED_TYPE_PROP, base
								.getElementName( ) );
			ContainerSlot defaultSlot = templateParam
					.getSlot( TemplateParameterDefinition.DEFAULT_SLOT );
			assert defaultSlot != null;
			
			DesignElement defaultElement = null;
			defaultElement = (DesignElement) base.clone( );
			assert defaultElement != null;
			ContentCommand contentCmd = null;
			
			
			TemplateParameterDefinition temp = defaultElement
					.getTemplateParameterElement( module );
			if ( temp != null )
			{
				propertyCmd = new PropertyCommand( module, defaultElement );
				propertyCmd.setProperty(
						IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP, null );