Bug 155766 [Regression]Preview will not refresh the modify in design report
Details: Preview will not refresh the modify in design report Step: 1.New a report design. 2.New a label and input label1. 3.Preview. 4.Switch to Layout and modify the content of label as label2. 5.Preview. Actual result: It preview as "label1" twice. Exception result: Preview "label2" at the second time
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
/**
	 * Key to indicate the 'servletName' of the preview.
	 */
	public final static String SERVLET_NAME_KEY = "SERVLET_NAME_KEY"; 
	/**
	 * Key to indicate the 'resourceFolder'.
	 */
	public final static String RESOURCE_FOLDER_KEY = "RESOURCE_FOLDER_KEY"; 
	/**
	 * locale mapping. Save some time.
	 */
	public static TreeMap LocaleTable = null;
	static
	{
		
		LocaleTable = new TreeMap( );
		Locale[] locales = Locale.getAvailableLocales( );
		if ( locales != null )
		{
			for ( int i = 0; i < locales.length; i++ )
			{
				Locale locale = locales[i];
				if ( locale != null )
				{
					LocaleTable.put( locale.getDisplayName( ), locale
							.getLanguage( )
							+ "_" + locale.getCountry( ) ); 
				}
			}
		}