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
* @throws SemanticException
	 */
	public void transformToDataSet( TemplateDataSet templateDataSet,
			SimpleDataSet dataSet, int slotID ) throws SemanticException
	{
		
		
		TemplateParameterDefinition templateparam = templateDataSet
				.getTemplateParameterElement( module );
		if ( templateparam == null )
			throw new TemplateException(
					templateDataSet,
					TemplateException.DESIGN_EXCEPTION_TRANSFORM_TO_DATA_SET_FORBIDDEN );
		ActivityStack stack = getActivityStack( );
		stack.startTrans( );
		try
		{
			PropertyCommand pcmd = new PropertyCommand( module, dataSet );
			pcmd.setProperty( SimpleDataSet.REF_TEMPLATE_PARAMETER_PROP,
					templateparam.getName( ) );
			ContentCommand cmd = new ContentCommand( module, element );
			cmd.transformTemplate( templateDataSet, dataSet, slotID, false );
		}
		catch ( SemanticException e )
		{
			stack.rollback( );
			throw e;
		}
		stack.commit( );
	}