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
propertyCmd = new PropertyCommand( module, base );
				propertyCmd.setProperty(
						IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP, null );
				
				if ( !temp.hasReferences( ) )
				{
					contentCmd = new ContentCommand( module, module );
					contentCmd.remove( temp,
							ReportDesign.TEMPLATE_PARAMETER_DEFINITION_SLOT );
				}
			}
			contentCmd = new ContentCommand( module, templateParam );
			contentCmd.add( defaultElement,
					TemplateParameterDefinition.DEFAULT_SLOT );
			contentCmd = new ContentCommand( module, module );
			contentCmd.add( templateParam,
					ReportDesign.TEMPLATE_PARAMETER_DEFINITION_SLOT );
			
			propertyCmd = new PropertyCommand( module, template );
			propertyCmd.setProperty(
					TemplateElement.REF_TEMPLATE_PARAMETER_PROP, templateParam
							.getName( ) );
		}
		catch ( ContentException e )
		{
			assert false;
		}
		catch ( NameException e )
		{
			assert false;