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
protected Module( DesignSession theSession )
	{
		session = theSession;
		for ( int i = 0; i < NAME_SPACE_COUNT; i++ )
		{
			nameSpaces[i] = new NameSpace( );
			moduleNameSpaces[i] = ModuleNameScopeFactory
					.createElementNameSpace( this, i );
		}
		
		setID( getNextID( ) );
		addElementID( this );
		
		nameManager = new NameManager( this );
	}
	/**
	 * Returns the design session that represents the designs that the user has
	 * open and user preferences.
	 * 
	 * @return the design session
	 */
	public DesignSession getSession( )
	{
		return session;
	}
	/**
	 * Finds a shared style in this module itself.
	 * 
	 * @param name
	 *            Name of the style to find.