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/ContentCommand.java
TemplateParameterDefinition templateParam = cmd.checkAdd( content,
				slotID );
		ContentRecord addTemplateParam = null;
		if ( templateParam != null )
			addTemplateParam = new ContentRecord( module, module,
					ReportDesign.TEMPLATE_PARAMETER_DEFINITION_SLOT,
					templateParam, true );
		
		ContentRecord addRecord;
		if ( newPos == -1 )
		{
			addRecord = new ContentRecord( module, element, slotID, content,
					true );
		}
		else
		{
			addRecord = new ContentRecord( module, element, slotID, content,
					newPos );
		}
		ActivityStack stack = getActivityStack( );
		stack.startTrans( addRecord.getLabel( ) );
		try
		{
			
			if ( addTemplateParam != null )
				stack.execute( addTemplateParam );
			
			stack.execute( addRecord );