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
}
	/**
	 * Checks the validation of the template element to insert. Verify that the
	 * template element to insert refers a valid and exsiting template parameter
	 * definition. If the referred the template definition doesn't exsit, then
	 * return the template parameter definition to add it to the module.
	 * 
	 * @param content
	 * @param slotID
	 * @return a template parameter definition to add, otherwise null
	 * @throws ContentException
	 *             if the value of property
	 *             <code>REF_TEMPLATE_PARAMETER_PROP</code> in template
	 *             element is null, or an un-resolved value
	 */
	public TemplateParameterDefinition checkAdd( DesignElement content,
			int slotID ) throws ContentException
	{
		
		
		if ( content instanceof TemplateElement )
		{
			ElementRefValue templateParam = (ElementRefValue) content
					.getProperty( module,
							DesignElement.REF_TEMPLATE_PARAMETER_PROP );
			if ( templateParam == null )
			{
				throw new ContentException(
						element,
						slotID,