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/core/Module.java
public void prepareToSave( )
	{
	}
	/**
	 * Records a successful save.
	 */
	public void onSave( )
	{
		saveState = activityStack.getCurrentTransNo( );
	}
	/**
	 * Reports whether the module has changed since it was created, loaded from
	 * disk, or saved, whichever has occurred most recently.
	 * 
	 * @return true if the in-memory version of the module differs from that on
	 *         disk, false if the two representations are the same
	 */
	public boolean isDirty( )
	{
		return saveState != activityStack.getCurrentTransNo( );
	}
	/**
	 * Called when creating a new module.
	 */
	protected void onCreate( )
	{
		
		
		
		saveState = 0;